#CA9EE1#CA9EE1

#CA9EE1 is a light, moderate violet. Relative luminance 0.424; OKLCH L 76.3% C 0.105 H 313.7°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#CA9EE1
RGBrgb(202, 158, 225)
HSLhsl(279, 53%, 75%)
HSVhsv(279, 30%, 88%)
CMYKcmyk(10.2%, 29.8%, 0%, 11.8%)
CIE-LABlab(71.18, 28.32, -27.70)
CIE-LCHlch(71.18, 39.62, 315.64°)
OKLaboklab(76.27% 0.0724 -0.0757)
OKLCHoklch(76.27% 0.105 313.7)
XYZxyz(50.1724, 42.4473, 76.7697)
Luminance0.4245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9EE1 #B5E19E
analogous
#A89EE1 #CA9EE1 #E19ED6
triadic
#CA9EE1 #E1CA9E #9EE1CA
tetradic
#CA9EE1 #E1A89E #B5E19E #9ED6E1
square
#CA9EE1 #E1A89E #B5E19E #9ED6E1
split-complementary
#CA9EE1 #D6E19E #9EE1A8
monochromatic
#9741C4 #B06FD3 #CA9EE1 #E4CDEF #F2E8F8

Accessibility & contrast

On white

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

On black

9.49
#CA9EE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9EE1
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9EE1#FFFFFF#000000##000000
##CA9EE11.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94ACE4
Deuteranopia (green-blind)
#9EAFDF
Tritanopia (blue-blind)
#C8A6B6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ca9ee1;
/* rgb */ color: rgb(202, 158, 225);
/* oklch */ color: oklch(76.3% 0.105 313.7);
Tailwind
colors: {
  custom: {
    50: '#dbbbea',
    500: '#ca9ee1',
    950: '#000000',
  },
}
SCSS
$custom: #ca9ee1;
$custom-light: #dbbbea;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9ee1",
  "rgb": {
    "r": 202,
    "g": 158,
    "b": 225
  },
  "hsl": {
    "h": 279.403,
    "s": 52.756,
    "l": 75.098
  },
  "oklch": {
    "l": 0.76269,
    "c": 0.10478,
    "h": 313.7
  },
  "luminance": 0.42447
}

Semantic roles & 50–950 ramp

primary
#CA9EE1
secondary
#E3EFDC
accent
#C0255A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CA9EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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