#CA9CD7#CA9CD7

#CA9CD7 is a light, moderate purple. Relative luminance 0.412; OKLCH L 75.5% C 0.097 H 318.7°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#CA9CD7
RGBrgb(202, 156, 215)
HSLhsl(287, 42%, 73%)
HSVhsv(287, 27%, 84%)
CMYKcmyk(6%, 27.4%, 0%, 15.7%)
CIE-LABlab(70.34, 27.40, -23.48)
CIE-LCHlch(70.34, 36.09, 319.41°)
OKLaboklab(75.51% 0.0726 -0.0638)
OKLCHoklch(75.51% 0.097 318.7)
XYZxyz(48.5096, 41.2408, 69.6817)
Luminance0.4124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9CD7 #A9D79C
analogous
#AD9CD7 #CA9CD7 #D79CC6
triadic
#CA9CD7 #D7CA9C #9CD7CA
tetradic
#CA9CD7 #D7AD9C #A9D79C #9CC6D7
square
#CA9CD7 #D7AD9C #A9D79C #9CC6D7
split-complementary
#CA9CD7 #C6D79C #9CD7AD
monochromatic
#9A48B1 #B370C5 #CA9CD7 #E1C8E9 #F3E9F6

Accessibility & contrast

On white

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

On black

9.25
#CA9CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9CD7
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9CD7#FFFFFF#000000##000000
##CA9CD71.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A9D9
Deuteranopia (green-blind)
#9FAED5
Tritanopia (blue-blind)
#CBA2B1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ca9cd7;
/* rgb */ color: rgb(202, 156, 215);
/* oklch */ color: oklch(75.5% 0.097 318.7);
Tailwind
colors: {
  custom: {
    50: '#dab9e3',
    500: '#ca9cd7',
    950: '#000000',
  },
}
SCSS
$custom: #ca9cd7;
$custom-light: #dab9e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9cd7",
  "rgb": {
    "r": 202,
    "g": 156,
    "b": 215
  },
  "hsl": {
    "h": 286.78,
    "s": 42.446,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7551,
    "c": 0.09667,
    "h": 318.7
  },
  "luminance": 0.4124
}

Semantic roles & 50–950 ramp

primary
#CA9CD7
secondary
#E1EDDE
accent
#B6304D
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CA9CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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