#CD86F3#CD86F3

#CD86F3 is a light, vivid violet. Relative luminance 0.365; OKLCH L 73.4% C 0.168 H 312.9°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#CD86F3
RGBrgb(205, 134, 243)
HSLhsl(279, 82%, 74%)
HSVhsv(279, 45%, 95%)
CMYKcmyk(15.6%, 44.9%, 0%, 4.7%)
CIE-LABlab(66.90, 45.96, -44.20)
CIE-LCHlch(66.90, 63.77, 316.12°)
OKLaboklab(73.35% 0.1141 -0.1227)
OKLCHoklch(73.35% 0.168 312.9)
XYZxyz(49.8769, 36.5015, 89.1947)
Luminance0.3650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD86F3 #ACF386
analogous
#9786F3 #CD86F3 #F386E2
triadic
#CD86F3 #F3CD86 #86F3CD
tetradic
#CD86F3 #F39786 #ACF386 #86E2F3
square
#CD86F3 #F39786 #ACF386 #86E2F3
split-complementary
#CD86F3 #E2F386 #86F397
monochromatic
#9F17E8 #B64EED #CD86F3 #E4BEF9 #F3E3FC

Accessibility & contrast

On white

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

On black

8.30
#CD86F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD86F3
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD86F3#FFFFFF#000000##000000
##CD86F31.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9FF7
Deuteranopia (green-blind)
#83A5F0
Tritanopia (blue-blind)
#CA96B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd86f3;
/* rgb */ color: rgb(205, 134, 243);
/* oklch */ color: oklch(73.4% 0.168 312.9);
Tailwind
colors: {
  custom: {
    50: '#deabf7',
    500: '#cd86f3',
    950: '#000000',
  },
}
SCSS
$custom: #cd86f3;
$custom-light: #deabf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd86f3",
  "rgb": {
    "r": 205,
    "g": 134,
    "b": 243
  },
  "hsl": {
    "h": 279.083,
    "s": 81.955,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7335,
    "c": 0.16755,
    "h": 312.9
  },
  "luminance": 0.365
}

Semantic roles & 50–950 ramp

primary
#CD86F3
secondary
#E1F4D7
accent
#DE0752
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD86F3

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

Preview Lab → · Contrast checker → · Palette generator →

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