#CB87D2#CB87D2

#CB87D2 is a light, vivid purple. Relative luminance 0.347; OKLCH L 71.8% C 0.129 H 323.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#CB87D2
RGBrgb(203, 135, 210)
HSLhsl(294, 45%, 68%)
HSVhsv(294, 36%, 82%)
CMYKcmyk(3.3%, 35.7%, 0%, 17.6%)
CIE-LABlab(65.50, 38.19, -28.14)
CIE-LCHlch(65.50, 47.44, 323.62°)
OKLaboklab(71.79% 0.1038 -0.0768)
OKLCHoklch(71.79% 0.129 323.5)
XYZxyz(44.9242, 34.6792, 65.2876)
Luminance0.3468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB87D2 #8ED287
analogous
#A587D2 #CB87D2 #D287B3
triadic
#CB87D2 #D2CB87 #87D2CB
tetradic
#CB87D2 #D2A587 #8ED287 #87B3D2
square
#CB87D2 #D2A587 #8ED287 #87B3D2
split-complementary
#CB87D2 #B3D287 #87D2A5
monochromatic
#983DA2 #B85AC1 #CB87D2 #DEB4E3 #F2E0F3

Accessibility & contrast

On white

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

On black

7.94
#CB87D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB87D2
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB87D2#FFFFFF#000000##000000
##CB87D21.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9AD5
Deuteranopia (green-blind)
#90A2D0
Tritanopia (blue-blind)
#CE8FA3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb87d2;
/* rgb */ color: rgb(203, 135, 210);
/* oklch */ color: oklch(71.8% 0.129 323.5);
Tailwind
colors: {
  custom: {
    50: '#dcabe0',
    500: '#cb87d2',
    950: '#000000',
  },
}
SCSS
$custom: #cb87d2;
$custom-light: #dcabe0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb87d2",
  "rgb": {
    "r": 203,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 294.4,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71789,
    "c": 0.1291,
    "h": 323.5
  },
  "luminance": 0.34678
}

Semantic roles & 50–950 ramp

primary
#CB87D2
secondary
#D1E6CF
accent
#B92D3A
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CB87D2

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

Preview Lab → · Contrast checker → · Palette generator →

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