#CF87F0#CF87F0

#CF87F0 is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.6% C 0.163 H 314.5°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#CF87F0
RGBrgb(207, 135, 240)
HSLhsl(281, 78%, 74%)
HSVhsv(281, 44%, 94%)
CMYKcmyk(13.7%, 43.8%, 0%, 5.9%)
CIE-LABlab(67.19, 45.37, -42.08)
CIE-LCHlch(67.19, 61.88, 317.15°)
OKLaboklab(73.57% 0.1145 -0.1166)
OKLCHoklch(73.57% 0.163 314.5)
XYZxyz(50.1218, 36.8858, 86.9005)
Luminance0.3689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF87F0 #A8F087
analogous
#9A87F0 #CF87F0 #F087DC
triadic
#CF87F0 #F0CF87 #87F0CF
tetradic
#CF87F0 #F09A87 #A8F087 #87DCF0
square
#CF87F0 #F09A87 #A8F087 #87DCF0
split-complementary
#CF87F0 #DCF087 #87F09A
monochromatic
#A31CE1 #B951E9 #CF87F0 #E5BDF7 #F4E4FC

Accessibility & contrast

On white

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

On black

8.38
#CF87F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF87F0
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF87F0#FFFFFF#000000##000000
##CF87F01.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#739FF4
Deuteranopia (green-blind)
#86A6ED
Tritanopia (blue-blind)
#CD96B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cf87f0;
/* rgb */ color: rgb(207, 135, 240);
/* oklch */ color: oklch(73.6% 0.163 314.5);
Tailwind
colors: {
  custom: {
    50: '#dfabf5',
    500: '#cf87f0',
    950: '#000000',
  },
}
SCSS
$custom: #cf87f0;
$custom-light: #dfabf5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf87f0",
  "rgb": {
    "r": 207,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 281.143,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73571,
    "c": 0.16343,
    "h": 314.5
  },
  "luminance": 0.36885
}

Semantic roles & 50–950 ramp

primary
#CF87F0
secondary
#E0F3D8
accent
#DA0B4C
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CF87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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