#CA9DD2#CA9DD2

#CA9DD2 is a light, moderate purple. Relative luminance 0.413; OKLCH L 75.5% C 0.089 H 321.3°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#CA9DD2
RGBrgb(202, 157, 210)
HSLhsl(291, 37%, 72%)
HSVhsv(291, 25%, 82%)
CMYKcmyk(3.8%, 25.2%, 0%, 17.6%)
CIE-LABlab(70.40, 25.87, -20.64)
CIE-LCHlch(70.40, 33.09, 321.42°)
OKLaboklab(75.5% 0.0697 -0.0559)
OKLCHoklch(75.5% 0.089 321.3)
XYZxyz(48.0454, 41.3247, 66.4058)
Luminance0.4132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9DD2 #A5D29D
analogous
#B09DD2 #CA9DD2 #D29DC0
triadic
#CA9DD2 #D2CA9D #9DD2CA
tetradic
#CA9DD2 #D2B09D #A5D29D #9DC0D2
square
#CA9DD2 #D2B09D #A5D29D #9DC0D2
split-complementary
#CA9DD2 #C0D29D #9DD2B0
monochromatic
#9A4DA8 #B373BF #CA9DD2 #E1C7E5 #F4EAF5

Accessibility & contrast

On white

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

On black

9.26
#CA9DD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9DD2
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9DD2#FFFFFF#000000##000000
##CA9DD21.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A9D4
Deuteranopia (green-blind)
#A2AED0
Tritanopia (blue-blind)
#CBA2B0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ca9dd2;
/* rgb */ color: rgb(202, 157, 210);
/* oklch */ color: oklch(75.5% 0.089 321.3);
Tailwind
colors: {
  custom: {
    50: '#dabae0',
    500: '#ca9dd2',
    950: '#000000',
  },
}
SCSS
$custom: #ca9dd2;
$custom-light: #dabae0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9dd2",
  "rgb": {
    "r": 202,
    "g": 157,
    "b": 210
  },
  "hsl": {
    "h": 290.943,
    "s": 37.063,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75497,
    "c": 0.08928,
    "h": 321.3
  },
  "luminance": 0.41324
}

Semantic roles & 50–950 ramp

primary
#CA9DD2
secondary
#E1ECDF
accent
#B03648
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CA9DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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