#CB87DA#CB87DA

#CB87DA is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.1% C 0.138 H 320.2°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#CB87DA
RGBrgb(203, 135, 218)
HSLhsl(289, 53%, 69%)
HSVhsv(289, 38%, 85%)
CMYKcmyk(6.9%, 38.1%, 0%, 14.5%)
CIE-LABlab(65.82, 39.75, -32.10)
CIE-LCHlch(65.82, 51.09, 321.08°)
OKLaboklab(72.13% 0.1057 -0.088)
OKLCHoklch(72.13% 0.138 320.2)
XYZxyz(45.9459, 35.0879, 70.6684)
Luminance0.3509 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB87DA #96DA87
analogous
#A287DA #CB87DA #DA87C0
triadic
#CB87DA #DACB87 #87DACB
tetradic
#CB87DA #DAA287 #96DA87 #87C0DA
square
#CB87DA #DAA287 #96DA87 #87C0DA
split-complementary
#CB87DA #C0DA87 #87DAA2
monochromatic
#9A36B0 #B758CC #CB87DA #DFB6E8 #F4E5F7

Accessibility & contrast

On white

2.62
#CB87DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#CB87DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB87DA
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB87DA#FFFFFF#000000##000000
##CB87DA1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb87da;
/* rgb */ color: rgb(203, 135, 218);
/* oklch */ color: oklch(72.1% 0.138 320.2);
Tailwind
colors: {
  custom: {
    50: '#dcabe5',
    500: '#cb87da',
    950: '#000000',
  },
}
SCSS
$custom: #cb87da;
$custom-light: #dcabe5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb87da",
  "rgb": {
    "r": 203,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 289.157,
    "s": 52.866,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72134,
    "c": 0.13751,
    "h": 320.2
  },
  "luminance": 0.35086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB87DA

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

Preview Lab → · Contrast checker → · Palette generator →

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