#CA9DCB#CA9DCB

#CA9DCB is a light, moderate purple. Relative luminance 0.410; OKLCH L 75.2% C 0.082 H 325.7°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#CA9DCB
RGBrgb(202, 157, 203)
HSLhsl(299, 31%, 71%)
HSVhsv(299, 23%, 80%)
CMYKcmyk(0.5%, 22.7%, 0%, 20.4%)
CIE-LABlab(70.16, 24.53, -17.13)
CIE-LCHlch(70.16, 29.92, 325.06°)
OKLaboklab(75.24% 0.0675 -0.0461)
OKLCHoklch(75.24% 0.082 325.7)
XYZxyz(47.1924, 40.9835, 61.9129)
Luminance0.4098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9DCB #9ECB9D
analogous
#B39DCB #CA9DCB #CB9DB5
triadic
#CA9DCB #CBCA9D #9DCBCA
tetradic
#CA9DCB #CBB39D #9ECB9D #9DB5CB
square
#CA9DCB #CBB39D #9ECB9D #9DB5CB
split-complementary
#CA9DCB #B5CB9D #9DCBB3
monochromatic
#9A529B #B475B6 #CA9DCB #E0C5E0 #F4EBF4

Accessibility & contrast

On white

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

On black

9.20
#CA9DCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9DCB
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9DCB#FFFFFF#000000##000000
##CA9DCB1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA8CD
Deuteranopia (green-blind)
#A4ADC9
Tritanopia (blue-blind)
#CDA1AD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ca9dcb;
/* rgb */ color: rgb(202, 157, 203);
/* oklch */ color: oklch(75.2% 0.082 325.7);
Tailwind
colors: {
  custom: {
    50: '#dabadb',
    500: '#ca9dcb',
    950: '#000000',
  },
}
SCSS
$custom: #ca9dcb;
$custom-light: #dabadb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9dcb",
  "rgb": {
    "r": 202,
    "g": 157,
    "b": 203
  },
  "hsl": {
    "h": 298.696,
    "s": 30.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.75235,
    "c": 0.08174,
    "h": 325.7
  },
  "luminance": 0.40982
}

Semantic roles & 50–950 ramp

primary
#CA9DCB
secondary
#DCE8DC
accent
#A93C3F
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151115
muted
#838083

Preview Lab

Preview with #CA9DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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