Skip to content

#ca97eb

a light, vivid violet · cool · closest name: Plum

RGB
202, 151, 235
HSL
276°, 68%, 76%
CMYK
14, 36, 0, 8
Luminance
0.4069

At a glance

Every number on this page in one read: what #ca97eb is made of, how bright it looks, and which way it leans.

Hex
#ca97eb
Hue
276°
violet
Saturation
68%
vivid
Lightness
76%
light
Brightness
92%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4069
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
9.14:1
Closest name
Plum
ΔE2000 6.9
Where it sits
Hue276° of 360°
Saturation68%
Lightness76%
Temperature
Warm ← → Cool63% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ca97eb
RGBrgb(202, 151, 235)
HSLhsl(276, 68%, 76%)
CMYKcmyk(14%, 36%, 0%, 8%)
LABlab(70.0 34.2 -35.1)
LCHlch(70.0 49.0 314.3)
OKLCHoklch(0.755 0.129 311.4)
Decimal13277163
Display P3color(display-p3 0.792 0.592 0.922)

Copy-ready code

/* CSS */
color: #ca97eb;
background-color: #ca97eb;
/* Tailwind (arbitrary) */
class="text-[#ca97eb] bg-[#ca97eb]"
/* SCSS */
$brand: #ca97eb;
/* SwiftUI */
Color(red: 0.792, green: 0.592, blue: 0.922)
/* Android */
Color.parseColor("#ca97eb")
/* Flutter */
Color(0xFFCA97EB)
/* Python / OpenCV (BGR) */
(235, 151, 202)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #ca97eb · 9.14:1
Use #000000AAA at every size.
Aa
White text · 2.30:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.14:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ca97eb as text scores 2.30:1 on white and 9.14:1 on black.

Accessibility — WCAG contrast

Aa
#ca97eb on white: 2.30:1
AA ✗ fail · AA-large · AAA
Aa
#ca97eb on black: 9.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #88A8EE
deuteranopia · #93ACE9
tritanopia · #C7A3B6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ca97eb is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F8F3FB
#F1E8F8
#E2CAF2
#ca97eb
#B772E4
#9F43DB
#8C28CD
#7521AB
#5D1A89
#451763
#2B0E3E
Base = 300Lightest = 50 · #F8F3FBDarkest = 950 · #2B0E3E
:root {
  --brand-50: #F8F3FB;
  --brand-100: #F1E8F8;
  --brand-200: #E2CAF2;
  --brand-300: #ca97eb;
  --brand-400: #B772E4;
  --brand-500: #9F43DB;
  --brand-600: #8C28CD;
  --brand-700: #7521AB;
  --brand-800: #5D1A89;
  --brand-900: #451763;
  --brand-950: #2B0E3E;
  --brand: #ca97eb;
  --brand-ink: #000000;
}

Colors that work with #ca97eb

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F8F4FA
Tinted page background
Border#DBC0ED
Hairlines and dividers
Muted text#7B4B9B
Captions on the surface
Accent#7BAE1E
Second voice, not a rival
Dark variant#49156B
Hover, pressed, headers
Light variant#F4EAFB
Selected rows, tints
Dark surface#1E1424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #ca97eb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#B8EB97
Analogous left#A097EB
Analogous right#EB97E2
Split-complement 1#E2EB97
Split-complement 2#97EBA0
Triadic 1#EBCA97
Triadic 2#97EBCA
Tetradic#EBA097

RGB percentages

Red79.2%
Green59.2%
Blue92.2%

CMYK percentages

Cyan14.0%
Magenta35.7%
Yellow0.0%
Key (black)7.8%

Color previews

#ca97eb text on a black background

contrast 9.14:1

Card sample

#ca97eb text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ca97eb;
Background color
Panel with #ca97eb background
background-color: #ca97eb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ca97eb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(202, 151, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 151, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ca97eb;
background: linear-gradient(135deg, #ca97eb, #EB97D4);

Monochromatic scale

Palettes built from #ca97eb

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#ca97eb in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#ca97eb, answered

What color is #ca97eb?

#ca97eb is a light vivid violet, closest to Plum (ΔE2000 6.9). It sits at 276° on the hue wheel with 68% saturation and 76% lightness, which reads as cool.

What is the RGB value of #ca97eb?

rgb(202, 151, 235) — 202 red, 151 green and 235 blue out of 255, or 79.2% / 59.2% / 92.2% by channel.

Is #ca97eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.4069 and perceived brightness is 70%, so black text on it reaches 9.14:1.

Should I use black or white text on #ca97eb?

Black. It scores 9.14:1 against #ca97eb, versus 2.30:1 for white — AAA at any size.

What is the complementary color of #ca97eb?

#B8EB97 sits directly opposite on the wheel. Softer options are the split-complements #E2EB97 and #97EBA0, which give the same contrast with far less vibration.

What colors go well with #ca97eb?

For interface work: #F8F4FA as the surface, #DBC0ED for borders, #7B4B9B for secondary text, #7BAE1E as an accent and #49156B for hover and pressed states. For a palette, the analogous pair #A097EB and #EB97E2 stays calm, while #B8EB97 is the loudest partner.

What is #ca97eb in CMYK for printing?

cmyk(14%, 36%, 0%, 8%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #ca97eb warm or cool?

Cool — it scores 63 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E997EB; nudged cooler, #AB96EC.

Work with #ca97eb in the Color Lab