#CA87DA#CA87DA

#CA87DA is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.0% C 0.137 H 319.7°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#CA87DA
RGBrgb(202, 135, 218)
HSLhsl(288, 53%, 69%)
HSVhsv(288, 38%, 85%)
CMYKcmyk(7.3%, 38.1%, 0%, 14.5%)
CIE-LABlab(65.71, 39.45, -32.28)
CIE-LCHlch(65.71, 50.97, 320.71°)
OKLaboklab(72.03% 0.1045 -0.0885)
OKLCHoklch(72.03% 0.137 319.7)
XYZxyz(45.6744, 34.9479, 70.6557)
Luminance0.3495 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA87DA #97DA87
analogous
#A187DA #CA87DA #DA87C1
triadic
#CA87DA #DACA87 #87DACA
tetradic
#CA87DA #DAA187 #97DA87 #87C1DA
square
#CA87DA #DAA187 #97DA87 #87C1DA
split-complementary
#CA87DA #C1DA87 #87DAA1
monochromatic
#9936B0 #B558CC #CA87DA #DFB6E8 #F3E5F7

Accessibility & contrast

On white

2.63
#CA87DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#CA87DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA87DA
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA87DA#FFFFFF#000000##000000
##CA87DA1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9BDD
Deuteranopia (green-blind)
#8DA2D7
Tritanopia (blue-blind)
#CB91A6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca87da;
/* rgb */ color: rgb(202, 135, 218);
/* oklch */ color: oklch(72.0% 0.137 319.7);
Tailwind
colors: {
  custom: {
    50: '#dbabe5',
    500: '#ca87da',
    950: '#000000',
  },
}
SCSS
$custom: #ca87da;
$custom-light: #dbabe5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca87da",
  "rgb": {
    "r": 202,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 288.434,
    "s": 52.866,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72028,
    "c": 0.13696,
    "h": 319.7
  },
  "luminance": 0.34946
}

Semantic roles & 50–950 ramp

primary
#CA87DA
secondary
#D7EAD2
accent
#C02543
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA87DA

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

Preview Lab → · Contrast checker → · Palette generator →

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