#CD86F1#CD86F1

#CD86F1 is a light, vivid violet. Relative luminance 0.364; OKLCH L 73.3% C 0.165 H 313.5°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#CD86F1
RGBrgb(205, 134, 241)
HSLhsl(280, 79%, 74%)
HSVhsv(280, 44%, 95%)
CMYKcmyk(14.9%, 44.4%, 0%, 5.5%)
CIE-LABlab(66.81, 45.54, -43.25)
CIE-LCHlch(66.81, 62.81, 316.48°)
OKLaboklab(73.25% 0.1137 -0.12)
OKLCHoklch(73.25% 0.165 313.5)
XYZxyz(49.5765, 36.3813, 87.6127)
Luminance0.3638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD86F1 #AAF186
analogous
#9786F1 #CD86F1 #F186DF
triadic
#CD86F1 #F1CD86 #86F1CD
tetradic
#CD86F1 #F19786 #AAF186 #86DFF1
square
#CD86F1 #F19786 #AAF186 #86DFF1
split-complementary
#CD86F1 #DFF186 #86F197
monochromatic
#9F1AE2 #B64FEB #CD86F1 #E4BDF7 #F4E4FC

Accessibility & contrast

On white

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

On black

8.28
#CD86F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD86F1
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD86F1#FFFFFF#000000##000000
##CD86F11.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF5
Deuteranopia (green-blind)
#84A4EE
Tritanopia (blue-blind)
#CA96B0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd86f1;
/* rgb */ color: rgb(205, 134, 241);
/* oklch */ color: oklch(73.3% 0.165 313.5);
Tailwind
colors: {
  custom: {
    50: '#deabf6',
    500: '#cd86f1',
    950: '#000000',
  },
}
SCSS
$custom: #cd86f1;
$custom-light: #deabf6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd86f1",
  "rgb": {
    "r": 205,
    "g": 134,
    "b": 241
  },
  "hsl": {
    "h": 279.813,
    "s": 79.259,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73252,
    "c": 0.16532,
    "h": 313.5
  },
  "luminance": 0.3638
}

Semantic roles & 50–950 ramp

primary
#CD86F1
secondary
#E1F4D7
accent
#DC0A50
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CD86F1

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

Preview Lab → · Contrast checker → · Palette generator →

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