#CF86EF#CF86EF

#CF86EF is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.4% C 0.164 H 314.9°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#CF86EF
RGBrgb(207, 134, 239)
HSLhsl(282, 77%, 73%)
HSVhsv(282, 44%, 94%)
CMYKcmyk(13.4%, 43.9%, 0%, 6.3%)
CIE-LABlab(66.94, 45.69, -41.93)
CIE-LCHlch(66.94, 62.02, 317.46°)
OKLaboklab(73.37% 0.1158 -0.1161)
OKLCHoklch(73.37% 0.164 314.9)
XYZxyz(49.8348, 36.5488, 86.0741)
Luminance0.3655 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF86EF #A6EF86
analogous
#9A86EF #CF86EF #EF86DB
triadic
#CF86EF #EFCF86 #86EFCF
tetradic
#CF86EF #EF9A86 #A6EF86 #86DBEF
square
#CF86EF #EF9A86 #A6EF86 #86DBEF
split-complementary
#CF86EF #DBEF86 #86EF9A
monochromatic
#A31DDD #BA50E8 #CF86EF #E4BCF6 #F4E4FB

Accessibility & contrast

On white

2.53
#CF86EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#CF86EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF86EF
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF86EF#FFFFFF#000000##000000
##CF86EF1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#729FF3
Deuteranopia (green-blind)
#86A5EC
Tritanopia (blue-blind)
#CD95AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cf86ef;
/* rgb */ color: rgb(207, 134, 239);
/* oklch */ color: oklch(73.4% 0.164 314.9);
Tailwind
colors: {
  custom: {
    50: '#dfabf4',
    500: '#cf86ef',
    950: '#000000',
  },
}
SCSS
$custom: #cf86ef;
$custom-light: #dfabf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf86ef",
  "rgb": {
    "r": 207,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 281.714,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73366,
    "c": 0.16398,
    "h": 314.9
  },
  "luminance": 0.36548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF86EF

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

Preview Lab → · Contrast checker → · Palette generator →

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