#CB87CE#CB87CE

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

Color values

HEX#CB87CE
RGBrgb(203, 135, 206)
HSLhsl(297, 42%, 67%)
HSVhsv(297, 34%, 81%)
CMYKcmyk(1.5%, 34.5%, 0%, 19.2%)
CIE-LABlab(65.34, 37.43, -26.14)
CIE-LCHlch(65.34, 45.66, 325.07°)
OKLaboklab(71.62% 0.1028 -0.0711)
OKLCHoklch(71.62% 0.125 325.3)
XYZxyz(44.4321, 34.4823, 62.6958)
Luminance0.3448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB87CE #8ACE87
analogous
#A887CE #CB87CE #CE87AE
triadic
#CB87CE #CECB87 #87CECB
tetradic
#CB87CE #CEA887 #8ACE87 #87AECE
square
#CB87CE #CEA887 #8ACE87 #87AECE
split-complementary
#CB87CE #AECE87 #87CEA8
monochromatic
#973F9B #B85CBC #CB87CE #DEB2E0 #F1DEF1

Accessibility & contrast

On white

2.66
#CB87CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#CB87CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB87CE
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB87CE#FFFFFF#000000##000000
##CB87CE1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8199D1
Deuteranopia (green-blind)
#92A2CC
Tritanopia (blue-blind)
#CF8EA1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb87ce;
/* rgb */ color: rgb(203, 135, 206);
/* oklch */ color: oklch(71.6% 0.125 325.3);
Tailwind
colors: {
  custom: {
    50: '#dcabdd',
    500: '#cb87ce',
    950: '#000000',
  },
}
SCSS
$custom: #cb87ce;
$custom-light: #dcabdd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb87ce",
  "rgb": {
    "r": 203,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 297.465,
    "s": 42.012,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71621,
    "c": 0.12501,
    "h": 325.3
  },
  "luminance": 0.34481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB87CE

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

Preview Lab → · Contrast checker → · Palette generator →

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