#CA9DCD#CA9DCD

#CA9DCD is a light, moderate purple. Relative luminance 0.411; OKLCH L 75.3% C 0.084 H 324.3°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#CA9DCD
RGBrgb(202, 157, 205)
HSLhsl(296, 32%, 71%)
HSVhsv(296, 23%, 80%)
CMYKcmyk(1.5%, 23.4%, 0%, 19.6%)
CIE-LABlab(70.23, 24.91, -18.14)
CIE-LCHlch(70.23, 30.81, 323.94°)
OKLaboklab(75.31% 0.0681 -0.0489)
OKLCHoklch(75.31% 0.084 324.3)
XYZxyz(47.4322, 41.0794, 63.1763)
Luminance0.4108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9DCD #A0CD9D
analogous
#B29DCD #CA9DCD #CD9DB8
triadic
#CA9DCD #CDCA9D #9DCDCA
tetradic
#CA9DCD #CDB29D #A0CD9D #9DB8CD
square
#CA9DCD #CDB29D #A0CD9D #9DB8CD
split-complementary
#CA9DCD #B8CD9D #9DCDB2
monochromatic
#9A519F #B474B8 #CA9DCD #E0C6E2 #F4EBF5

Accessibility & contrast

On white

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

On black

9.22
#CA9DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9DCD
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9DCD#FFFFFF#000000##000000
##CA9DCD1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A8CF
Deuteranopia (green-blind)
#A3AECB
Tritanopia (blue-blind)
#CCA1AE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ca9dcd;
/* rgb */ color: rgb(202, 157, 205);
/* oklch */ color: oklch(75.3% 0.084 324.3);
Tailwind
colors: {
  custom: {
    50: '#dabadc',
    500: '#ca9dcd',
    950: '#000000',
  },
}
SCSS
$custom: #ca9dcd;
$custom-light: #dabadc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9dcd",
  "rgb": {
    "r": 202,
    "g": 157,
    "b": 205
  },
  "hsl": {
    "h": 296.25,
    "s": 32.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75309,
    "c": 0.08385,
    "h": 324.3
  },
  "luminance": 0.41078
}

Semantic roles & 50–950 ramp

primary
#CA9DCD
secondary
#DDE9DD
accent
#AB3A41
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CA9DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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