#CF87DB#CF87DB

#CF87DB is a light, vivid purple. Relative luminance 0.357; OKLCH L 72.6% C 0.141 H 321.7°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#CF87DB
RGBrgb(207, 135, 219)
HSLhsl(291, 54%, 69%)
HSVhsv(291, 38%, 86%)
CMYKcmyk(5.5%, 38.4%, 0%, 14.1%)
CIE-LABlab(66.30, 41.16, -31.87)
CIE-LCHlch(66.30, 52.06, 322.25°)
OKLaboklab(72.61% 0.1105 -0.0873)
OKLCHoklch(72.61% 0.141 321.7)
XYZxyz(47.1808, 35.7094, 71.4114)
Luminance0.3571 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF87DB #93DB87
analogous
#A587DB #CF87DB #DB87BD
triadic
#CF87DB #DBCF87 #87DBCF
tetradic
#CF87DB #DBA587 #93DB87 #87BDDB
square
#CF87DB #DBA587 #93DB87 #87BDDB
split-complementary
#CF87DB #BDDB87 #87DBA5
monochromatic
#A035B2 #BC58CD #CF87DB #E2B6E9 #F5E5F7

Accessibility & contrast

On white

2.58
#CF87DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#CF87DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF87DB
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF87DB#FFFFFF#000000##000000
##CF87DB1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9CDE
Deuteranopia (green-blind)
#8FA4D8
Tritanopia (blue-blind)
#D191A7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cf87db;
/* rgb */ color: rgb(207, 135, 219);
/* oklch */ color: oklch(72.6% 0.141 321.7);
Tailwind
colors: {
  custom: {
    50: '#dfabe6',
    500: '#cf87db',
    950: '#000000',
  },
}
SCSS
$custom: #cf87db;
$custom-light: #dfabe6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf87db",
  "rgb": {
    "r": 207,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 291.429,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72607,
    "c": 0.14082,
    "h": 321.7
  },
  "luminance": 0.35708
}

Semantic roles & 50–950 ramp

primary
#CF87DB
secondary
#D6EBD3
accent
#C1243B
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF87DB

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

Preview Lab → · Contrast checker → · Palette generator →

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