#CF87F3#CF87F3

#CF87F3 is a light, vivid purple. Relative luminance 0.371; OKLCH L 73.7% C 0.167 H 313.6°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#CF87F3
RGBrgb(207, 135, 243)
HSLhsl(280, 82%, 74%)
HSVhsv(280, 44%, 95%)
CMYKcmyk(14.8%, 44.4%, 0%, 4.7%)
CIE-LABlab(67.33, 45.99, -43.52)
CIE-LCHlch(67.33, 63.32, 316.58°)
OKLaboklab(73.72% 0.115 -0.1207)
OKLCHoklch(73.72% 0.167 313.6)
XYZxyz(50.5711, 37.0656, 89.2670)
Luminance0.3706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF87F3 #ABF387
analogous
#9987F3 #CF87F3 #F387E1
triadic
#CF87F3 #F3CF87 #87F3CF
tetradic
#CF87F3 #F39987 #ABF387 #87E1F3
square
#CF87F3 #F39987 #ABF387 #87E1F3
split-complementary
#CF87F3 #E1F387 #87F399
monochromatic
#A218E8 #B94FED #CF87F3 #E5BFF9 #F4E3FC

Accessibility & contrast

On white

2.50
#CF87F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#CF87F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF87F3
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF87F3#FFFFFF#000000##000000
##CF87F31.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A0F7
Deuteranopia (green-blind)
#85A6F0
Tritanopia (blue-blind)
#CC97B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cf87f3;
/* rgb */ color: rgb(207, 135, 243);
/* oklch */ color: oklch(73.7% 0.167 313.6);
Tailwind
colors: {
  custom: {
    50: '#dfabf7',
    500: '#cf87f3',
    950: '#000000',
  },
}
SCSS
$custom: #cf87f3;
$custom-light: #dfabf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf87f3",
  "rgb": {
    "r": 207,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 280,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73716,
    "c": 0.16674,
    "h": 313.6
  },
  "luminance": 0.37064
}

Semantic roles & 50–950 ramp

primary
#CF87F3
secondary
#E1F4D7
accent
#DE074F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CF87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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