#CA87CF#CA87CF

#CA87CF is a light, vivid purple. Relative luminance 0.344; OKLCH L 71.6% C 0.125 H 324.4°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#CA87CF
RGBrgb(202, 135, 207)
HSLhsl(296, 43%, 67%)
HSVhsv(296, 35%, 81%)
CMYKcmyk(2.4%, 34.8%, 0%, 18.8%)
CIE-LABlab(65.27, 37.31, -26.82)
CIE-LCHlch(65.27, 45.95, 324.29°)
OKLaboklab(71.56% 0.1019 -0.073)
OKLCHoklch(71.56% 0.125 324.4)
XYZxyz(44.2824, 34.3911, 63.3249)
Luminance0.3439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA87CF #8CCF87
analogous
#A687CF #CA87CF #CF87B0
triadic
#CA87CF #CFCA87 #87CFCA
tetradic
#CA87CF #CFA687 #8CCF87 #87B0CF
square
#CA87CF #CFA687 #8CCF87 #87B0CF
split-complementary
#CA87CF #B0CF87 #87CFA6
monochromatic
#963F9D #B75BBE #CA87CF #DDB3E0 #F1DEF2

Accessibility & contrast

On white

2.67
#CA87CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#CA87CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA87CF
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA87CF#FFFFFF#000000##000000
##CA87CF1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8099D2
Deuteranopia (green-blind)
#91A1CD
Tritanopia (blue-blind)
#CD8EA2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca87cf;
/* rgb */ color: rgb(202, 135, 207);
/* oklch */ color: oklch(71.6% 0.125 324.4);
Tailwind
colors: {
  custom: {
    50: '#dbabde',
    500: '#ca87cf',
    950: '#000000',
  },
}
SCSS
$custom: #ca87cf;
$custom-light: #dbabde;
$custom-dark: #000000;
JSON
{
  "hex": "#ca87cf",
  "rgb": {
    "r": 202,
    "g": 135,
    "b": 207
  },
  "hsl": {
    "h": 295.833,
    "s": 42.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71555,
    "c": 0.12539,
    "h": 324.4
  },
  "luminance": 0.34389
}

Semantic roles & 50–950 ramp

primary
#CA87CF
secondary
#CFE4CD
accent
#B63039
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CA87CF

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

Preview Lab → · Contrast checker → · Palette generator →

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