#CF86EC#CF86EC

#CF86EC is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.2% C 0.161 H 315.8°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#CF86EC
RGBrgb(207, 134, 236)
HSLhsl(283, 73%, 73%)
HSVhsv(283, 43%, 93%)
CMYKcmyk(12.3%, 43.2%, 0%, 7.5%)
CIE-LABlab(66.80, 45.08, -40.49)
CIE-LCHlch(66.80, 60.59, 318.07°)
OKLaboklab(73.22% 0.1153 -0.112)
OKLCHoklch(73.22% 0.161 315.8)
XYZxyz(49.3953, 36.3730, 83.7593)
Luminance0.3637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF86EC #A3EC86
analogous
#9C86EC #CF86EC #EC86D6
triadic
#CF86EC #ECCF86 #86ECCF
tetradic
#CF86EC #EC9C86 #A3EC86 #86D6EC
square
#CF86EC #EC9C86 #A3EC86 #86D6EC
split-complementary
#CF86EC #D6EC86 #86EC9C
monochromatic
#A322D6 #BA51E4 #CF86EC #E4BBF4 #F5E5FB

Accessibility & contrast

On white

2.54
#CF86EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#CF86EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF86EC
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF86EC#FFFFFF#000000##000000
##CF86EC1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EF0
Deuteranopia (green-blind)
#87A5E9
Tritanopia (blue-blind)
#CE94AE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cf86ec;
/* rgb */ color: rgb(207, 134, 236);
/* oklch */ color: oklch(73.2% 0.161 315.8);
Tailwind
colors: {
  custom: {
    50: '#dfabf2',
    500: '#cf86ec',
    950: '#000000',
  },
}
SCSS
$custom: #cf86ec;
$custom-light: #dfabf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf86ec",
  "rgb": {
    "r": 207,
    "g": 134,
    "b": 236
  },
  "hsl": {
    "h": 282.941,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73223,
    "c": 0.16069,
    "h": 315.8
  },
  "luminance": 0.36372
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF86EC

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

Preview Lab → · Contrast checker → · Palette generator →

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