#CA87CE#CA87CE

#CA87CE is a light, vivid purple. Relative luminance 0.343; OKLCH L 71.5% C 0.124 H 324.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#CA87CE
RGBrgb(202, 135, 206)
HSLhsl(297, 42%, 67%)
HSVhsv(297, 34%, 81%)
CMYKcmyk(1.9%, 34.5%, 0%, 19.2%)
CIE-LABlab(65.23, 37.12, -26.32)
CIE-LCHlch(65.23, 45.50, 324.66°)
OKLaboklab(71.51% 0.1017 -0.0716)
OKLCHoklch(71.51% 0.124 324.8)
XYZxyz(44.1606, 34.3423, 62.6831)
Luminance0.3434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA87CE #8BCE87
analogous
#A787CE #CA87CE #CE87AF
triadic
#CA87CE #CECA87 #87CECA
tetradic
#CA87CE #CEA787 #8BCE87 #87AFCE
square
#CA87CE #CEA787 #8BCE87 #87AFCE
split-complementary
#CA87CE #AFCE87 #87CEA7
monochromatic
#963F9B #B75CBC #CA87CE #DDB2E0 #F0DEF1

Accessibility & contrast

On white

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

On black

7.87
#CA87CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA87CE
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA87CE#FFFFFF#000000##000000
##CA87CE1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8199D1
Deuteranopia (green-blind)
#91A1CC
Tritanopia (blue-blind)
#CD8EA1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca87ce;
/* rgb */ color: rgb(202, 135, 206);
/* oklch */ color: oklch(71.5% 0.124 324.8);
Tailwind
colors: {
  custom: {
    50: '#dbabdd',
    500: '#ca87ce',
    950: '#000000',
  },
}
SCSS
$custom: #ca87ce;
$custom-light: #dbabdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca87ce",
  "rgb": {
    "r": 202,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 296.62,
    "s": 42.012,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71513,
    "c": 0.12437,
    "h": 324.8
  },
  "luminance": 0.34341
}

Semantic roles & 50–950 ramp

primary
#CA87CE
secondary
#CEE4CD
accent
#B53038
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CA87CE

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

Preview Lab → · Contrast checker → · Palette generator →

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