#CA8CD1#CA8CD1

#CA8CD1 is a light, moderate purple. Relative luminance 0.359; OKLCH L 72.5% C 0.119 H 323.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#CA8CD1
RGBrgb(202, 140, 209)
HSLhsl(294, 43%, 68%)
HSVhsv(294, 33%, 82%)
CMYKcmyk(3.3%, 33%, 0%, 18%)
CIE-LABlab(66.46, 34.98, -26.11)
CIE-LCHlch(66.46, 43.65, 323.26°)
OKLaboklab(72.48% 0.0949 -0.0711)
OKLCHoklch(72.48% 0.119 323.2)
XYZxyz(45.2425, 35.9176, 64.8588)
Luminance0.3592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CD1 #93D18C
analogous
#A78CD1 #CA8CD1 #D18CB5
triadic
#CA8CD1 #D1CA8C #8CD1CA
tetradic
#CA8CD1 #D1A78C #93D18C #8CB5D1
square
#CA8CD1 #D1A78C #93D18C #8CB5D1
split-complementary
#CA8CD1 #B5D18C #8CD1A7
monochromatic
#9841A2 #B660C0 #CA8CD1 #DEB8E2 #F2E3F4

Accessibility & contrast

On white

2.57
#CA8CD1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#CA8CD1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CD1
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CD1#FFFFFF#000000##000000
##CA8CD11.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#859DD4
Deuteranopia (green-blind)
#94A4CF
Tritanopia (blue-blind)
#CD93A5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca8cd1;
/* rgb */ color: rgb(202, 140, 209);
/* oklch */ color: oklch(72.5% 0.119 323.2);
Tailwind
colors: {
  custom: {
    50: '#dbaedf',
    500: '#ca8cd1',
    950: '#000000',
  },
}
SCSS
$custom: #ca8cd1;
$custom-light: #dbaedf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8cd1",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 209
  },
  "hsl": {
    "h": 293.913,
    "s": 42.857,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72477,
    "c": 0.1186,
    "h": 323.2
  },
  "luminance": 0.35916
}

Semantic roles & 50–950 ramp

primary
#CA8CD1
secondary
#D4E7D2
accent
#B6303D
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CA8CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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