#CA8CD2#CA8CD2

#CA8CD2 is a light, moderate purple. Relative luminance 0.360; OKLCH L 72.5% C 0.120 H 322.7°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#CA8CD2
RGBrgb(202, 140, 210)
HSLhsl(293, 44%, 69%)
HSVhsv(293, 33%, 82%)
CMYKcmyk(3.8%, 33.3%, 0%, 17.6%)
CIE-LABlab(66.49, 35.17, -26.61)
CIE-LCHlch(66.49, 44.10, 322.89°)
OKLaboklab(72.52% 0.0952 -0.0725)
OKLCHoklch(72.52% 0.12 322.7)
XYZxyz(45.3667, 35.9673, 65.5129)
Luminance0.3597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CD2 #94D28C
analogous
#A78CD2 #CA8CD2 #D28CB7
triadic
#CA8CD2 #D2CA8C #8CD2CA
tetradic
#CA8CD2 #D2A78C #94D28C #8CB7D2
square
#CA8CD2 #D2A78C #94D28C #8CB7D2
split-complementary
#CA8CD2 #B7D28C #8CD2A7
monochromatic
#9840A4 #B660C1 #CA8CD2 #DEB8E3 #F3E4F4

Accessibility & contrast

On white

2.56
#CA8CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#CA8CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CD2
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CD2#FFFFFF#000000##000000
##CA8CD21.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#859DD5
Deuteranopia (green-blind)
#94A4D0
Tritanopia (blue-blind)
#CC93A6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca8cd2;
/* rgb */ color: rgb(202, 140, 210);
/* oklch */ color: oklch(72.5% 0.120 322.7);
Tailwind
colors: {
  custom: {
    50: '#dbaee0',
    500: '#ca8cd2',
    950: '#000000',
  },
}
SCSS
$custom: #ca8cd2;
$custom-light: #dbaee0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8cd2",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 293.143,
    "s": 43.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72518,
    "c": 0.11966,
    "h": 322.7
  },
  "luminance": 0.35966
}

Semantic roles & 50–950 ramp

primary
#CA8CD2
secondary
#D5E7D2
accent
#B72F3E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CA8CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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