#CD86F9#CD86F9

#CD86F9 is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.6% C 0.174 H 311.3°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#CD86F9
RGBrgb(205, 134, 249)
HSLhsl(277, 91%, 75%)
HSVhsv(277, 46%, 98%)
CMYKcmyk(17.7%, 46.2%, 0%, 2.4%)
CIE-LABlab(67.18, 47.23, -47.06)
CIE-LCHlch(67.18, 66.67, 315.11°)
OKLaboklab(73.65% 0.1149 -0.131)
OKLCHoklch(73.65% 0.174 311.3)
XYZxyz(50.7978, 36.8698, 94.0448)
Luminance0.3687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD86F9 #B2F986
analogous
#9386F9 #CD86F9 #F986EC
triadic
#CD86F9 #F9CD86 #86F9CD
tetradic
#CD86F9 #F99386 #B2F986 #86ECF9
square
#CD86F9 #F99386 #B2F986 #86ECF9
split-complementary
#CD86F9 #ECF986 #86F993
monochromatic
#9D11F3 #B54CF6 #CD86F9 #E5C0FC #F3E2FE

Accessibility & contrast

On white

2.51
#CD86F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#CD86F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD86F9
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD86F9#FFFFFF#000000##000000
##CD86F91.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA0FD
Deuteranopia (green-blind)
#7FA5F6
Tritanopia (blue-blind)
#C898B4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd86f9;
/* rgb */ color: rgb(205, 134, 249);
/* oklch */ color: oklch(73.6% 0.174 311.3);
Tailwind
colors: {
  custom: {
    50: '#deabfc',
    500: '#cd86f9',
    950: '#000000',
  },
}
SCSS
$custom: #cd86f9;
$custom-light: #deabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd86f9",
  "rgb": {
    "r": 205,
    "g": 134,
    "b": 249
  },
  "hsl": {
    "h": 277.043,
    "s": 90.551,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73649,
    "c": 0.17426,
    "h": 311.3
  },
  "luminance": 0.36869
}

Semantic roles & 50–950 ramp

primary
#CD86F9
secondary
#E2F6D5
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD86F9

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

Preview Lab → · Contrast checker → · Palette generator →

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