#CF87EE#CF87EE

#CF87EE is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.5% C 0.161 H 315.1°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#CF87EE
RGBrgb(207, 135, 238)
HSLhsl(282, 75%, 73%)
HSVhsv(282, 43%, 93%)
CMYKcmyk(13%, 43.3%, 0%, 6.7%)
CIE-LABlab(67.10, 44.96, -41.12)
CIE-LCHlch(67.10, 60.93, 317.55°)
OKLaboklab(73.47% 0.1142 -0.1138)
OKLCHoklch(73.47% 0.161 315.1)
XYZxyz(49.8263, 36.7676, 85.3445)
Luminance0.3677 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF87EE #A6EE87
analogous
#9B87EE #CF87EE #EE87D9
triadic
#CF87EE #EECF87 #87EECF
tetradic
#CF87EE #EE9B87 #A6EE87 #87D9EE
square
#CF87EE #EE9B87 #A6EE87 #87D9EE
split-complementary
#CF87EE #D9EE87 #87EE9B
monochromatic
#A31FDC #BA51E6 #CF87EE #E4BDF6 #F4E4FB

Accessibility & contrast

On white

2.51
#CF87EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#CF87EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF87EE
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF87EE#FFFFFF#000000##000000
##CF87EE1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#749FF2
Deuteranopia (green-blind)
#87A5EB
Tritanopia (blue-blind)
#CD96AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cf87ee;
/* rgb */ color: rgb(207, 135, 238);
/* oklch */ color: oklch(73.5% 0.161 315.1);
Tailwind
colors: {
  custom: {
    50: '#dfabf4',
    500: '#cf87ee',
    950: '#000000',
  },
}
SCSS
$custom: #cf87ee;
$custom-light: #dfabf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf87ee",
  "rgb": {
    "r": 207,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 281.942,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73475,
    "c": 0.16123,
    "h": 315.1
  },
  "luminance": 0.36766
}

Semantic roles & 50–950 ramp

primary
#CF87EE
secondary
#E0F3D8
accent
#D70E4B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CF87EE

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

Preview Lab → · Contrast checker → · Palette generator →

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