#CA9BEE#CA9BEE

#CA9BEE is a light, vivid violet. Relative luminance 0.422; OKLCH L 76.3% C 0.126 H 309.6°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#CA9BEE
RGBrgb(202, 155, 238)
HSLhsl(274, 71%, 77%)
HSVhsv(274, 35%, 93%)
CMYKcmyk(15.1%, 34.9%, 0%, 6.7%)
CIE-LABlab(70.99, 32.69, -35.11)
CIE-LCHlch(70.99, 47.97, 312.96°)
OKLaboklab(76.29% 0.08 -0.0967)
OKLCHoklch(76.29% 0.126 309.6)
XYZxyz(51.5083, 42.1729, 86.2990)
Luminance0.4217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9BEE #BFEE9B
analogous
#A19BEE #CA9BEE #EE9BE8
triadic
#CA9BEE #EECA9B #9BEECA
tetradic
#CA9BEE #EEA19B #BFEE9B #9BE8EE
square
#CA9BEE #EEA19B #BFEE9B #9BE8EE
split-complementary
#CA9BEE #E8EE9B #9BEEA1
monochromatic
#9332DC #AE67E5 #CA9BEE #E6CFF7 #F1E5FB

Accessibility & contrast

On white

2.23
#CA9BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#CA9BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9BEE
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9BEE#FFFFFF#000000##000000
##CA9BEE1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF1
Deuteranopia (green-blind)
#96AFEC
Tritanopia (blue-blind)
#C6A7BA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ca9bee;
/* rgb */ color: rgb(202, 155, 238);
/* oklch */ color: oklch(76.3% 0.126 309.6);
Tailwind
colors: {
  custom: {
    50: '#dbb9f4',
    500: '#ca9bee',
    950: '#000000',
  },
}
SCSS
$custom: #ca9bee;
$custom-light: #dbb9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9bee",
  "rgb": {
    "r": 202,
    "g": 155,
    "b": 238
  },
  "hsl": {
    "h": 273.976,
    "s": 70.94,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76292,
    "c": 0.12557,
    "h": 309.6
  },
  "luminance": 0.42172
}

Semantic roles & 50–950 ramp

primary
#CA9BEE
secondary
#E4F2D9
accent
#D31366
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA9BEE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CA9BEE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva