#CA9CD9#CA9CD9

#CA9CD9 is a light, moderate purple. Relative luminance 0.413; OKLCH L 75.6% C 0.099 H 317.7°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#CA9CD9
RGBrgb(202, 156, 217)
HSLhsl(285, 45%, 73%)
HSVhsv(285, 28%, 85%)
CMYKcmyk(6.9%, 28.1%, 0%, 14.9%)
CIE-LABlab(70.42, 27.80, -24.47)
CIE-LCHlch(70.42, 37.04, 318.64°)
OKLaboklab(75.59% 0.0732 -0.0666)
OKLCHoklch(75.59% 0.099 317.7)
XYZxyz(48.7682, 41.3442, 71.0434)
Luminance0.4134 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9CD9 #ABD99C
analogous
#AB9CD9 #CA9CD9 #D99CC9
triadic
#CA9CD9 #D9CA9C #9CD9CA
tetradic
#CA9CD9 #D9AB9C #ABD99C #9CC9D9
square
#CA9CD9 #D9AB9C #ABD99C #9CC9D9
split-complementary
#CA9CD9 #C9D99C #9CD9AB
monochromatic
#9A46B5 #B270C8 #CA9CD9 #E2C8EA #F3E9F7

Accessibility & contrast

On white

2.27
#CA9CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#CA9CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9CD9
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9CD9#FFFFFF#000000##000000
##CA9CD91.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A9DB
Deuteranopia (green-blind)
#9FAED7
Tritanopia (blue-blind)
#CAA3B2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ca9cd9;
/* rgb */ color: rgb(202, 156, 217);
/* oklch */ color: oklch(75.6% 0.099 317.7);
Tailwind
colors: {
  custom: {
    50: '#dab9e5',
    500: '#ca9cd9',
    950: '#000000',
  },
}
SCSS
$custom: #ca9cd9;
$custom-light: #dab9e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9cd9",
  "rgb": {
    "r": 202,
    "g": 156,
    "b": 217
  },
  "hsl": {
    "h": 285.246,
    "s": 44.526,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75589,
    "c": 0.09895,
    "h": 317.7
  },
  "luminance": 0.41343
}

Semantic roles & 50–950 ramp

primary
#CA9CD9
secondary
#E1EDDE
accent
#B82E50
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151115
muted
#838084

Preview Lab

Preview with #CA9CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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