#CD86EF#CD86EF

#CD86EF is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.2% C 0.163 H 314.1°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#CD86EF
RGBrgb(205, 134, 239)
HSLhsl(281, 77%, 73%)
HSVhsv(281, 44%, 94%)
CMYKcmyk(14.2%, 43.9%, 0%, 6.3%)
CIE-LABlab(66.72, 45.13, -42.29)
CIE-LCHlch(66.72, 61.84, 316.86°)
OKLaboklab(73.16% 0.1134 -0.1172)
OKLCHoklch(73.16% 0.163 314.1)
XYZxyz(49.2794, 36.2625, 86.0480)
Luminance0.3626 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD86EF #A8EF86
analogous
#9886EF #CD86EF #EF86DD
triadic
#CD86EF #EFCD86 #86EFCD
tetradic
#CD86EF #EF9886 #A8EF86 #86DDEF
square
#CD86EF #EF9886 #A8EF86 #86DDEF
split-complementary
#CD86EF #DDEF86 #86EF98
monochromatic
#9F1DDD #B750E8 #CD86EF #E3BCF6 #F4E4FB

Accessibility & contrast

On white

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

On black

8.25
#CD86EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD86EF
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD86EF#FFFFFF#000000##000000
##CD86EF1.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF3
Deuteranopia (green-blind)
#85A4EC
Tritanopia (blue-blind)
#CA95AF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd86ef;
/* rgb */ color: rgb(205, 134, 239);
/* oklch */ color: oklch(73.2% 0.163 314.1);
Tailwind
colors: {
  custom: {
    50: '#deabf4',
    500: '#cd86ef',
    950: '#000000',
  },
}
SCSS
$custom: #cd86ef;
$custom-light: #deabf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd86ef",
  "rgb": {
    "r": 205,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 280.571,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73155,
    "c": 0.1631,
    "h": 314.1
  },
  "luminance": 0.36261
}

Semantic roles & 50–950 ramp

primary
#CD86EF
secondary
#E1F3D8
accent
#D90D4F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD86EF

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

Preview Lab → · Contrast checker → · Palette generator →

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