#CA8CD6#CA8CD6

#CA8CD6 is a light, vivid purple. Relative luminance 0.362; OKLCH L 72.7% C 0.124 H 320.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#CA8CD6
RGBrgb(202, 140, 214)
HSLhsl(290, 47%, 69%)
HSVhsv(290, 35%, 84%)
CMYKcmyk(5.6%, 34.6%, 0%, 16.1%)
CIE-LABlab(66.65, 35.95, -28.60)
CIE-LCHlch(66.65, 45.94, 321.50°)
OKLaboklab(72.69% 0.0962 -0.0781)
OKLCHoklch(72.69% 0.124 320.9)
XYZxyz(45.8713, 36.1691, 68.1703)
Luminance0.3617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CD6 #98D68C
analogous
#A58CD6 #CA8CD6 #D68CBD
triadic
#CA8CD6 #D6CA8C #8CD6CA
tetradic
#CA8CD6 #D6A58C #98D68C #8CBDD6
square
#CA8CD6 #D6A58C #98D68C #8CBDD6
split-complementary
#CA8CD6 #BDD68C #8CD6A5
monochromatic
#993DAB #B55FC6 #CA8CD6 #DFB9E6 #F4E6F6

Accessibility & contrast

On white

2.55
#CA8CD6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#CA8CD6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CD6
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CD6#FFFFFF#000000##000000
##CA8CD61.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#839ED9
Deuteranopia (green-blind)
#92A4D4
Tritanopia (blue-blind)
#CC94A7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca8cd6;
/* rgb */ color: rgb(202, 140, 214);
/* oklch */ color: oklch(72.7% 0.124 320.9);
Tailwind
colors: {
  custom: {
    50: '#dbaee3',
    500: '#ca8cd6',
    950: '#000000',
  },
}
SCSS
$custom: #ca8cd6;
$custom-light: #dbaee3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8cd6",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 214
  },
  "hsl": {
    "h": 290.27,
    "s": 47.436,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72686,
    "c": 0.12392,
    "h": 320.9
  },
  "luminance": 0.36168
}

Semantic roles & 50–950 ramp

primary
#CA8CD6
secondary
#D8EAD4
accent
#BB2B42
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CA8CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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