#CA9DEE#CA9DEE

#CA9DEE is a light, vivid violet. Relative luminance 0.428; OKLCH L 76.6% C 0.122 H 309.2°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#CA9DEE
RGBrgb(202, 157, 238)
HSLhsl(273, 70%, 77%)
HSVhsv(273, 34%, 93%)
CMYKcmyk(15.1%, 34%, 0%, 6.7%)
CIE-LABlab(71.45, 31.59, -34.39)
CIE-LCHlch(71.45, 46.70, 312.57°)
OKLaboklab(76.64% 0.0772 -0.0947)
OKLCHoklch(76.64% 0.122 309.2)
XYZxyz(51.8439, 42.8441, 86.4109)
Luminance0.4284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9DEE #C1EE9D
analogous
#A19DEE #CA9DEE #EE9DEA
triadic
#CA9DEE #EECA9D #9DEECA
tetradic
#CA9DEE #EEA19D #C1EE9D #9DEAEE
square
#CA9DEE #EEA19D #C1EE9D #9DEAEE
split-complementary
#CA9DEE #EAEE9D #9DEEA1
monochromatic
#9235DC #AE69E5 #CA9DEE #E6D1F7 #F1E5FA

Accessibility & contrast

On white

2.19
#CA9DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#CA9DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9DEE
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9DEE#FFFFFF#000000##000000
##CA9DEE1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EADF1
Deuteranopia (green-blind)
#98B0EC
Tritanopia (blue-blind)
#C6A8BB
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ca9dee;
/* rgb */ color: rgb(202, 157, 238);
/* oklch */ color: oklch(76.6% 0.122 309.2);
Tailwind
colors: {
  custom: {
    50: '#dbbaf3',
    500: '#ca9dee',
    950: '#000000',
  },
}
SCSS
$custom: #ca9dee;
$custom-light: #dbbaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9dee",
  "rgb": {
    "r": 202,
    "g": 157,
    "b": 238
  },
  "hsl": {
    "h": 273.333,
    "s": 70.435,
    "l": 77.451
  },
  "oklch": {
    "l": 0.76641,
    "c": 0.12218,
    "h": 309.2
  },
  "luminance": 0.42844
}

Semantic roles & 50–950 ramp

primary
#CA9DEE
secondary
#E4F2D9
accent
#D21368
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA9DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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