#CA9CEE#CA9CEE

#CA9CEE is a light, vivid violet. Relative luminance 0.425; OKLCH L 76.5% C 0.124 H 309.4°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#CA9CEE
RGBrgb(202, 156, 238)
HSLhsl(274, 71%, 77%)
HSVhsv(274, 34%, 93%)
CMYKcmyk(15.1%, 34.5%, 0%, 6.7%)
CIE-LABlab(71.22, 32.14, -34.75)
CIE-LCHlch(71.22, 47.34, 312.77°)
OKLaboklab(76.47% 0.0786 -0.0957)
OKLCHoklch(76.47% 0.124 309.4)
XYZxyz(51.6754, 42.5071, 86.3548)
Luminance0.4251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9CEE #C0EE9C
analogous
#A19CEE #CA9CEE #EE9CE9
triadic
#CA9CEE #EECA9C #9CEECA
tetradic
#CA9CEE #EEA19C #C0EE9C #9CE9EE
square
#CA9CEE #EEA19C #C0EE9C #9CE9EE
split-complementary
#CA9CEE #E9EE9C #9CEEA1
monochromatic
#9234DC #AE68E5 #CA9CEE #E6D0F7 #F1E5FB

Accessibility & contrast

On white

2.21
#CA9CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#CA9CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9CEE
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9CEE#FFFFFF#000000##000000
##CA9CEE1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACF1
Deuteranopia (green-blind)
#97AFEC
Tritanopia (blue-blind)
#C6A8BA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ca9cee;
/* rgb */ color: rgb(202, 156, 238);
/* oklch */ color: oklch(76.5% 0.124 309.4);
Tailwind
colors: {
  custom: {
    50: '#dbb9f3',
    500: '#ca9cee',
    950: '#000000',
  },
}
SCSS
$custom: #ca9cee;
$custom-light: #dbb9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9cee",
  "rgb": {
    "r": 202,
    "g": 156,
    "b": 238
  },
  "hsl": {
    "h": 273.659,
    "s": 70.69,
    "l": 77.255
  },
  "oklch": {
    "l": 0.76466,
    "c": 0.12388,
    "h": 309.4
  },
  "luminance": 0.42507
}

Semantic roles & 50–950 ramp

primary
#CA9CEE
secondary
#E4F2D9
accent
#D31367
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA9CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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