#CD86F8#CD86F8

#CD86F8 is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.6% C 0.173 H 311.5°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#CD86F8
RGBrgb(205, 134, 248)
HSLhsl(277, 89%, 75%)
HSVhsv(277, 46%, 97%)
CMYKcmyk(17.3%, 46%, 0%, 2.7%)
CIE-LABlab(67.13, 47.02, -46.58)
CIE-LCHlch(67.13, 66.19, 315.27°)
OKLaboklab(73.6% 0.1148 -0.1296)
OKLCHoklch(73.6% 0.173 311.5)
XYZxyz(50.6422, 36.8076, 93.2255)
Luminance0.3681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD86F8 #B1F886
analogous
#9486F8 #CD86F8 #F886EA
triadic
#CD86F8 #F8CD86 #86F8CD
tetradic
#CD86F8 #F89486 #B1F886 #86EAF8
square
#CD86F8 #F89486 #B1F886 #86EAF8
split-complementary
#CD86F8 #EAF886 #86F894
monochromatic
#9D12F1 #B54CF5 #CD86F8 #E5C0FB #F3E2FD

Accessibility & contrast

On white

2.51
#CD86F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#CD86F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD86F8
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD86F8#FFFFFF#000000##000000
##CD86F81.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA0FC
Deuteranopia (green-blind)
#80A5F5
Tritanopia (blue-blind)
#C898B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd86f8;
/* rgb */ color: rgb(205, 134, 248);
/* oklch */ color: oklch(73.6% 0.173 311.5);
Tailwind
colors: {
  custom: {
    50: '#deabfb',
    500: '#cd86f8',
    950: '#000000',
  },
}
SCSS
$custom: #cd86f8;
$custom-light: #deabfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd86f8",
  "rgb": {
    "r": 205,
    "g": 134,
    "b": 248
  },
  "hsl": {
    "h": 277.368,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73598,
    "c": 0.17314,
    "h": 311.5
  },
  "luminance": 0.36807
}

Semantic roles & 50–950 ramp

primary
#CD86F8
secondary
#E2F5D6
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD86F8

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

Preview Lab → · Contrast checker → · Palette generator →

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