#CA9EEE#CA9EEE

#CA9EEE is a light, vivid violet. Relative luminance 0.432; OKLCH L 76.8% C 0.120 H 308.9°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#CA9EEE
RGBrgb(202, 158, 238)
HSLhsl(273, 70%, 78%)
HSVhsv(273, 34%, 93%)
CMYKcmyk(15.1%, 33.6%, 0%, 6.7%)
CIE-LABlab(71.68, 31.05, -34.04)
CIE-LCHlch(71.68, 46.07, 312.37°)
OKLaboklab(76.82% 0.0757 -0.0937)
OKLCHoklch(76.82% 0.121 308.9)
XYZxyz(52.0138, 43.1839, 86.4675)
Luminance0.4318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9EEE #C2EE9E
analogous
#A29EEE #CA9EEE #EE9EEA
triadic
#CA9EEE #EECA9E #9EEECA
tetradic
#CA9EEE #EEA29E #C2EE9E #9EEAEE
square
#CA9EEE #EEA29E #C2EE9E #9EEAEE
split-complementary
#CA9EEE #EAEE9E #9EEEA2
monochromatic
#9136DC #AE6AE5 #CA9EEE #E6D2F7 #F1E5FA

Accessibility & contrast

On white

2.18
#CA9EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#CA9EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9EEE
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9EEE#FFFFFF#000000##000000
##CA9EEE1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAEF1
Deuteranopia (green-blind)
#99B0EC
Tritanopia (blue-blind)
#C6A9BB
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ca9eee;
/* rgb */ color: rgb(202, 158, 238);
/* oklch */ color: oklch(76.8% 0.120 308.9);
Tailwind
colors: {
  custom: {
    50: '#dbbbf3',
    500: '#ca9eee',
    950: '#000000',
  },
}
SCSS
$custom: #ca9eee;
$custom-light: #dbbbf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9eee",
  "rgb": {
    "r": 202,
    "g": 158,
    "b": 238
  },
  "hsl": {
    "h": 273,
    "s": 70.175,
    "l": 77.647
  },
  "oklch": {
    "l": 0.76816,
    "c": 0.1205,
    "h": 308.9
  },
  "luminance": 0.43183
}

Semantic roles & 50–950 ramp

primary
#CA9EEE
secondary
#E4F2D9
accent
#D21369
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CA9EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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