#CD86F4#CD86F4

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

Color values

HEX#CD86F4
RGBrgb(205, 134, 244)
HSLhsl(279, 83%, 74%)
HSVhsv(279, 45%, 96%)
CMYKcmyk(16%, 45.1%, 0%, 4.3%)
CIE-LABlab(66.95, 46.17, -44.68)
CIE-LCHlch(66.95, 64.25, 315.94°)
OKLaboklab(73.4% 0.1142 -0.1241)
OKLCHoklch(73.4% 0.169 312.6)
XYZxyz(50.0283, 36.5620, 89.9922)
Luminance0.3656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD86F4 #ADF486
analogous
#9686F4 #CD86F4 #F486E4
triadic
#CD86F4 #F4CD86 #86F4CD
tetradic
#CD86F4 #F49686 #ADF486 #86E4F4
square
#CD86F4 #F49686 #ADF486 #86E4F4
split-complementary
#CD86F4 #E4F486 #86F496
monochromatic
#9F16EA #B64EEF #CD86F4 #E4BEF9 #F3E3FC

Accessibility & contrast

On white

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

On black

8.31
#CD86F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD86F4
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD86F4#FFFFFF#000000##000000
##CD86F41.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9FF8
Deuteranopia (green-blind)
#82A5F1
Tritanopia (blue-blind)
#C997B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd86f4;
/* rgb */ color: rgb(205, 134, 244);
/* oklch */ color: oklch(73.4% 0.169 312.6);
Tailwind
colors: {
  custom: {
    50: '#deabf8',
    500: '#cd86f4',
    950: '#000000',
  },
}
SCSS
$custom: #cd86f4;
$custom-light: #deabf8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd86f4",
  "rgb": {
    "r": 205,
    "g": 134,
    "b": 244
  },
  "hsl": {
    "h": 278.727,
    "s": 83.333,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73399,
    "c": 0.16866,
    "h": 312.6
  },
  "luminance": 0.36561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD86F4

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

Preview Lab → · Contrast checker → · Palette generator →

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