#CD86F7#CD86F7

#CD86F7 is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.5% C 0.172 H 311.8°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#CD86F7
RGBrgb(205, 134, 247)
HSLhsl(278, 88%, 75%)
HSVhsv(278, 46%, 97%)
CMYKcmyk(17%, 45.7%, 0%, 3.1%)
CIE-LABlab(67.09, 46.81, -46.11)
CIE-LCHlch(67.09, 65.70, 315.43°)
OKLaboklab(73.55% 0.1146 -0.1282)
OKLCHoklch(73.55% 0.172 311.8)
XYZxyz(50.4875, 36.7457, 92.4107)
Luminance0.3674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD86F7 #B0F786
analogous
#9586F7 #CD86F7 #F786E9
triadic
#CD86F7 #F7CD86 #86F7CD
tetradic
#CD86F7 #F79586 #B0F786 #86E9F7
square
#CD86F7 #F79586 #B0F786 #86E9F7
split-complementary
#CD86F7 #E9F786 #86F795
monochromatic
#9E13EF #B54DF3 #CD86F7 #E5BFFB #F3E2FD

Accessibility & contrast

On white

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

On black

8.35
#CD86F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD86F7
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD86F7#FFFFFF#000000##000000
##CD86F71.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA0FB
Deuteranopia (green-blind)
#80A5F4
Tritanopia (blue-blind)
#C997B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd86f7;
/* rgb */ color: rgb(205, 134, 247);
/* oklch */ color: oklch(73.5% 0.172 311.8);
Tailwind
colors: {
  custom: {
    50: '#deabfa',
    500: '#cd86f7',
    950: '#000000',
  },
}
SCSS
$custom: #cd86f7;
$custom-light: #deabfa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd86f7",
  "rgb": {
    "r": 205,
    "g": 134,
    "b": 247
  },
  "hsl": {
    "h": 277.699,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73548,
    "c": 0.17202,
    "h": 311.8
  },
  "luminance": 0.36745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD86F7

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

Preview Lab → · Contrast checker → · Palette generator →

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