#CD86F2#CD86F2

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

Color values

HEX#CD86F2
RGBrgb(205, 134, 242)
HSLhsl(279, 81%, 74%)
HSVhsv(279, 45%, 95%)
CMYKcmyk(15.3%, 44.6%, 0%, 5.1%)
CIE-LABlab(66.86, 45.75, -43.72)
CIE-LCHlch(66.86, 63.29, 316.30°)
OKLaboklab(73.3% 0.1139 -0.1214)
OKLCHoklch(73.3% 0.166 313.2)
XYZxyz(49.7263, 36.4412, 88.4015)
Luminance0.3644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD86F2 #ABF286
analogous
#9786F2 #CD86F2 #F286E1
triadic
#CD86F2 #F2CD86 #86F2CD
tetradic
#CD86F2 #F29786 #ABF286 #86E1F2
square
#CD86F2 #F29786 #ABF286 #86E1F2
split-complementary
#CD86F2 #E1F286 #86F297
monochromatic
#9F19E5 #B64FEC #CD86F2 #E4BDF8 #F4E3FC

Accessibility & contrast

On white

2.53
#CD86F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#CD86F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD86F2
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD86F2#FFFFFF#000000##000000
##CD86F21.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#83A4EF
Tritanopia (blue-blind)
#CA96B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd86f2;
/* rgb */ color: rgb(205, 134, 242);
/* oklch */ color: oklch(73.3% 0.166 313.2);
Tailwind
colors: {
  custom: {
    50: '#deabf7',
    500: '#cd86f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd86f2;
$custom-light: #deabf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd86f2",
  "rgb": {
    "r": 205,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 279.444,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73301,
    "c": 0.16644,
    "h": 313.2
  },
  "luminance": 0.3644
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD86F2

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

Preview Lab → · Contrast checker → · Palette generator →

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