#CA9CD5#CA9CD5

#CA9CD5 is a light, moderate purple. Relative luminance 0.411; OKLCH L 75.4% C 0.094 H 319.7°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#CA9CD5
RGBrgb(202, 156, 213)
HSLhsl(288, 40%, 72%)
HSVhsv(288, 27%, 84%)
CMYKcmyk(5.2%, 26.8%, 0%, 16.5%)
CIE-LABlab(70.27, 27.01, -22.49)
CIE-LCHlch(70.27, 35.15, 320.22°)
OKLaboklab(75.43% 0.072 -0.061)
OKLCHoklch(75.43% 0.094 319.7)
XYZxyz(48.2542, 41.1386, 68.3365)
Luminance0.4114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9CD5 #A7D59C
analogous
#AD9CD5 #CA9CD5 #D59CC4
triadic
#CA9CD5 #D5CA9C #9CD5CA
tetradic
#CA9CD5 #D5AD9C #A7D59C #9CC4D5
square
#CA9CD5 #D5AD9C #A7D59C #9CC4D5
split-complementary
#CA9CD5 #C4D59C #9CD5AD
monochromatic
#9A49AD #B371C3 #CA9CD5 #E1C7E7 #F3EAF6

Accessibility & contrast

On white

2.28
#CA9CD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#CA9CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9CD5
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9CD5#FFFFFF#000000##000000
##CA9CD51.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A9D7
Deuteranopia (green-blind)
#A0ADD3
Tritanopia (blue-blind)
#CBA2B0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ca9cd5;
/* rgb */ color: rgb(202, 156, 213);
/* oklch */ color: oklch(75.4% 0.094 319.7);
Tailwind
colors: {
  custom: {
    50: '#dab9e2',
    500: '#ca9cd5',
    950: '#000000',
  },
}
SCSS
$custom: #ca9cd5;
$custom-light: #dab9e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9cd5",
  "rgb": {
    "r": 202,
    "g": 156,
    "b": 213
  },
  "hsl": {
    "h": 288.421,
    "s": 40.426,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75432,
    "c": 0.09441,
    "h": 319.7
  },
  "luminance": 0.41138
}

Semantic roles & 50–950 ramp

primary
#CA9CD5
secondary
#E1EDDE
accent
#B3324B
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CA9CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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