#CD86FC#CD86FC

#CD86FC is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.8% C 0.178 H 310.5°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#CD86FC
RGBrgb(205, 134, 252)
HSLhsl(276, 95%, 76%)
HSVhsv(276, 47%, 99%)
CMYKcmyk(18.7%, 46.8%, 0%, 1.2%)
CIE-LABlab(67.32, 47.87, -48.47)
CIE-LCHlch(67.32, 68.13, 314.64°)
OKLaboklab(73.8% 0.1153 -0.1351)
OKLCHoklch(73.8% 0.178 310.5)
XYZxyz(51.2694, 37.0585, 96.5287)
Luminance0.3706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD86FC #B5FC86
analogous
#9286FC #CD86FC #FC86F0
triadic
#CD86FC #FCCD86 #86FCCD
tetradic
#CD86FC #FC9286 #B5FC86 #86F0FC
square
#CD86FC #FC9286 #B5FC86 #86F0FC
split-complementary
#CD86FC #F0FC86 #86FC92
monochromatic
#9C0FF9 #B44AFB #CD86FC #E6C2FD #F3E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD86FC#FFFFFF#000000##000000
##CD86FC1.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)
#6AA0FF
Deuteranopia (green-blind)
#7EA5F9
Tritanopia (blue-blind)
#C799B5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd86fc;
/* rgb */ color: rgb(205, 134, 252);
/* oklch */ color: oklch(73.8% 0.178 310.5);
Tailwind
colors: {
  custom: {
    50: '#deabfe',
    500: '#cd86fc',
    950: '#000000',
  },
}
SCSS
$custom: #cd86fc;
$custom-light: #deabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd86fc",
  "rgb": {
    "r": 205,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 276.102,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.738,
    "c": 0.17763,
    "h": 310.5
  },
  "luminance": 0.37058
}

Semantic roles & 50–950 ramp

primary
#CD86FC
secondary
#E2F6D5
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CD86FC

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

Preview Lab → · Contrast checker → · Palette generator →

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