#CD86F5#CD86F5

#CD86F5 is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.4% C 0.170 H 312.3°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#CD86F5
RGBrgb(205, 134, 245)
HSLhsl(278, 85%, 74%)
HSVhsv(278, 45%, 96%)
CMYKcmyk(16.3%, 45.3%, 0%, 3.9%)
CIE-LABlab(66.99, 46.38, -45.16)
CIE-LCHlch(66.99, 64.73, 315.77°)
OKLaboklab(73.45% 0.1144 -0.1255)
OKLCHoklch(73.45% 0.17 312.3)
XYZxyz(50.1805, 36.6229, 90.7940)
Luminance0.3662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD86F5 #AEF586
analogous
#9686F5 #CD86F5 #F586E6
triadic
#CD86F5 #F5CD86 #86F5CD
tetradic
#CD86F5 #F59686 #AEF586 #86E6F5
square
#CD86F5 #F59686 #AEF586 #86E6F5
split-complementary
#CD86F5 #E6F586 #86F596
monochromatic
#9E15EC #B64DF0 #CD86F5 #E4BFFA #F3E3FD

Accessibility & contrast

On white

2.52
#CD86F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#CD86F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD86F5
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD86F5#FFFFFF#000000##000000
##CD86F51.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9FF9
Deuteranopia (green-blind)
#81A5F2
Tritanopia (blue-blind)
#C997B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd86f5;
/* rgb */ color: rgb(205, 134, 245);
/* oklch */ color: oklch(73.4% 0.170 312.3);
Tailwind
colors: {
  custom: {
    50: '#deabf9',
    500: '#cd86f5',
    950: '#000000',
  },
}
SCSS
$custom: #cd86f5;
$custom-light: #deabf9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd86f5",
  "rgb": {
    "r": 205,
    "g": 134,
    "b": 245
  },
  "hsl": {
    "h": 278.378,
    "s": 84.733,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73449,
    "c": 0.16978,
    "h": 312.3
  },
  "luminance": 0.36622
}

Semantic roles & 50–950 ramp

primary
#CD86F5
secondary
#E1F5D6
accent
#E10454
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD86F5

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

Preview Lab → · Contrast checker → · Palette generator →

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