#CA9EEF#CA9EEF

#CA9EEF is a light, vivid violet. Relative luminance 0.432; OKLCH L 76.9% C 0.122 H 308.6°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#CA9EEF
RGBrgb(202, 158, 239)
HSLhsl(273, 72%, 78%)
HSVhsv(273, 34%, 94%)
CMYKcmyk(15.5%, 33.9%, 0%, 6.3%)
CIE-LABlab(71.72, 31.26, -34.52)
CIE-LCHlch(71.72, 46.57, 312.16°)
OKLaboklab(76.86% 0.076 -0.0951)
OKLCHoklch(76.86% 0.122 308.6)
XYZxyz(52.1611, 43.2428, 87.2434)
Luminance0.4324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9EEF #C3EF9E
analogous
#A29EEF #CA9EEF #EF9EEB
triadic
#CA9EEF #EFCA9E #9EEFCA
tetradic
#CA9EEF #EFA29E #C3EF9E #9EEBEF
square
#CA9EEF #EFA29E #C3EF9E #9EEBEF
split-complementary
#CA9EEF #EBEF9E #9EEFA2
monochromatic
#9135DE #AD69E6 #CA9EEF #E7D3F8 #F1E5FB

Accessibility & contrast

On white

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

On black

9.65
#CA9EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9EEF
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9EEF#FFFFFF#000000##000000
##CA9EEF1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAEF2
Deuteranopia (green-blind)
#98B0ED
Tritanopia (blue-blind)
#C5A9BC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ca9eef;
/* rgb */ color: rgb(202, 158, 239);
/* oklch */ color: oklch(76.9% 0.122 308.6);
Tailwind
colors: {
  custom: {
    50: '#dbbbf4',
    500: '#ca9eef',
    950: '#000000',
  },
}
SCSS
$custom: #ca9eef;
$custom-light: #dbbbf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9eef",
  "rgb": {
    "r": 202,
    "g": 158,
    "b": 239
  },
  "hsl": {
    "h": 272.593,
    "s": 71.681,
    "l": 77.843
  },
  "oklch": {
    "l": 0.7686,
    "c": 0.12172,
    "h": 308.6
  },
  "luminance": 0.43242
}

Semantic roles & 50–950 ramp

primary
#CA9EEF
secondary
#E4F2D9
accent
#D4126A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CA9EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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