#CA87D3#CA87D3

#CA87D3 is a light, vivid purple. Relative luminance 0.346; OKLCH L 71.7% C 0.130 H 322.6°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#CA87D3
RGBrgb(202, 135, 211)
HSLhsl(293, 46%, 68%)
HSVhsv(293, 36%, 83%)
CMYKcmyk(4.3%, 36%, 0%, 17.3%)
CIE-LABlab(65.43, 38.07, -28.81)
CIE-LCHlch(65.43, 47.75, 322.88°)
OKLaboklab(71.72% 0.1029 -0.0787)
OKLCHoklch(71.72% 0.13 322.6)
XYZxyz(44.7776, 34.5892, 65.9330)
Luminance0.3459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA87D3 #90D387
analogous
#A487D3 #CA87D3 #D387B6
triadic
#CA87D3 #D3CA87 #87D3CA
tetradic
#CA87D3 #D3A487 #90D387 #87B6D3
square
#CA87D3 #D3A487 #90D387 #87B6D3
split-complementary
#CA87D3 #B6D387 #87D3A4
monochromatic
#973CA4 #B65AC3 #CA87D3 #DEB4E3 #F2E1F4

Accessibility & contrast

On white

2.65
#CA87D3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#CA87D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA87D3
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA87D3#FFFFFF#000000##000000
##CA87D31.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9AD6
Deuteranopia (green-blind)
#90A2D1
Tritanopia (blue-blind)
#CC8FA3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ca87d3;
/* rgb */ color: rgb(202, 135, 211);
/* oklch */ color: oklch(71.7% 0.130 322.6);
Tailwind
colors: {
  custom: {
    50: '#dbabe0',
    500: '#ca87d3',
    950: '#000000',
  },
}
SCSS
$custom: #ca87d3;
$custom-light: #dbabe0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca87d3",
  "rgb": {
    "r": 202,
    "g": 135,
    "b": 211
  },
  "hsl": {
    "h": 292.895,
    "s": 46.341,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71724,
    "c": 0.12954,
    "h": 322.6
  },
  "luminance": 0.34588
}

Semantic roles & 50–950 ramp

primary
#CA87D3
secondary
#D2E7CF
accent
#BA2C3D
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CA87D3

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

Preview Lab → · Contrast checker → · Palette generator →

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