#CA9CE9#CA9CE9

#CA9CE9 is a light, moderate violet. Relative luminance 0.422; OKLCH L 76.2% C 0.118 H 311.1°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#CA9CE9
RGBrgb(202, 156, 233)
HSLhsl(276, 64%, 76%)
HSVhsv(276, 33%, 91%)
CMYKcmyk(13.3%, 33%, 0%, 8.6%)
CIE-LABlab(71.02, 31.08, -32.33)
CIE-LCHlch(71.02, 44.84, 313.88°)
OKLaboklab(76.25% 0.0774 -0.0888)
OKLCHoklch(76.25% 0.118 311.1)
XYZxyz(50.9510, 42.2174, 82.5397)
Luminance0.4222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9CE9 #BBE99C
analogous
#A49CE9 #CA9CE9 #E99CE2
triadic
#CA9CE9 #E9CA9C #9CE9CA
tetradic
#CA9CE9 #E9A49C #BBE99C #9CE2E9
square
#CA9CE9 #E9A49C #BBE99C #9CE2E9
split-complementary
#CA9CE9 #E2E99C #9CE9A4
monochromatic
#9438D3 #AF6ADE #CA9CE9 #E5CEF4 #F2E6F9

Accessibility & contrast

On white

2.22
#CA9CE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#CA9CE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9CE9
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9CE9#FFFFFF#000000##000000
##CA9CE91.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FABEC
Deuteranopia (green-blind)
#99AFE7
Tritanopia (blue-blind)
#C7A6B8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ca9ce9;
/* rgb */ color: rgb(202, 156, 233);
/* oklch */ color: oklch(76.2% 0.118 311.1);
Tailwind
colors: {
  custom: {
    50: '#dbb9f0',
    500: '#ca9ce9',
    950: '#000000',
  },
}
SCSS
$custom: #ca9ce9;
$custom-light: #dbb9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9ce9",
  "rgb": {
    "r": 202,
    "g": 156,
    "b": 233
  },
  "hsl": {
    "h": 275.844,
    "s": 63.636,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76249,
    "c": 0.11783,
    "h": 311.1
  },
  "luminance": 0.42217
}

Semantic roles & 50–950 ramp

primary
#CA9CE9
secondary
#E3F1DA
accent
#CB1A61
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA9CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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