#CD86FE#CD86FE

#CD86FE is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.9% C 0.180 H 310.0°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#CD86FE
RGBrgb(205, 134, 254)
HSLhsl(276, 98%, 76%)
HSVhsv(276, 47%, 100%)
CMYKcmyk(19.3%, 47.2%, 0%, 0.4%)
CIE-LABlab(67.42, 48.30, -49.42)
CIE-LCHlch(67.42, 69.10, 314.35°)
OKLaboklab(73.9% 0.1156 -0.1378)
OKLCHoklch(73.9% 0.18 310)
XYZxyz(51.5880, 37.1859, 98.2067)
Luminance0.3719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD86FE #B7FE86
analogous
#9186FE #CD86FE #FE86F3
triadic
#CD86FE #FECD86 #86FECD
tetradic
#CD86FE #FE9186 #B7FE86 #86F3FE
square
#CD86FE #FE9186 #B7FE86 #86F3FE
split-complementary
#CD86FE #F3FE86 #86FE91
monochromatic
#9B0DFD #B449FD #CD86FE #E6C3FF #F2E1FF

Accessibility & contrast

On white

2.49
#CD86FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#CD86FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD86FE
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD86FE#FFFFFF#000000##000000
##CD86FE1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#7DA5FB
Tritanopia (blue-blind)
#C799B6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd86fe;
/* rgb */ color: rgb(205, 134, 254);
/* oklch */ color: oklch(73.9% 0.180 310.0);
Tailwind
colors: {
  custom: {
    50: '#deabff',
    500: '#cd86fe',
    950: '#000000',
  },
}
SCSS
$custom: #cd86fe;
$custom-light: #deabff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd86fe",
  "rgb": {
    "r": 205,
    "g": 134,
    "b": 254
  },
  "hsl": {
    "h": 275.5,
    "s": 98.361,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73903,
    "c": 0.17989,
    "h": 310
  },
  "luminance": 0.37185
}

Semantic roles & 50–950 ramp

primary
#CD86FE
secondary
#E2F7D4
accent
#E6005E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CD86FE

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

Preview Lab → · Contrast checker → · Palette generator →

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