#CF86E8#CF86E8

#CF86E8 is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.0% C 0.156 H 317.1°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#CF86E8
RGBrgb(207, 134, 232)
HSLhsl(285, 68%, 72%)
HSVhsv(285, 42%, 91%)
CMYKcmyk(10.8%, 42.2%, 0%, 9%)
CIE-LABlab(66.63, 44.27, -38.56)
CIE-LCHlch(66.63, 58.70, 318.95°)
OKLaboklab(73.04% 0.1146 -0.1064)
OKLCHoklch(73.04% 0.156 317.1)
XYZxyz(48.8206, 36.1432, 80.7329)
Luminance0.3614 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF86E8 #9FE886
analogous
#9E86E8 #CF86E8 #E886D0
triadic
#CF86E8 #E8CF86 #86E8CF
tetradic
#CF86E8 #E89E86 #9FE886 #86D0E8
square
#CF86E8 #E89E86 #9FE886 #86D0E8
split-complementary
#CF86E8 #D0E886 #86E89E
monochromatic
#A227CD #BB53DE #CF86E8 #E3B9F2 #F5E5FA

Accessibility & contrast

On white

2.55
#CF86E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#CF86E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF86E8
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF86E8#FFFFFF#000000##000000
##CF86E81.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#769DEC
Deuteranopia (green-blind)
#89A4E5
Tritanopia (blue-blind)
#CF93AC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cf86e8;
/* rgb */ color: rgb(207, 134, 232);
/* oklch */ color: oklch(73.0% 0.156 317.1);
Tailwind
colors: {
  custom: {
    50: '#dfabef',
    500: '#cf86e8',
    950: '#000000',
  },
}
SCSS
$custom: #cf86e8;
$custom-light: #dfabef;
$custom-dark: #000000;
JSON
{
  "hex": "#cf86e8",
  "rgb": {
    "r": 207,
    "g": 134,
    "b": 232
  },
  "hsl": {
    "h": 284.694,
    "s": 68.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73035,
    "c": 0.15636,
    "h": 317.1
  },
  "luminance": 0.36142
}

Semantic roles & 50–950 ramp

primary
#CF86E8
secondary
#DFF1D8
accent
#D01645
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF86E8

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

Preview Lab → · Contrast checker → · Palette generator →

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