#CD86FA#CD86FA

#CD86FA is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.7% C 0.175 H 311.0°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#CD86FA
RGBrgb(205, 134, 250)
HSLhsl(277, 92%, 75%)
HSVhsv(277, 46%, 98%)
CMYKcmyk(18%, 46.4%, 0%, 2%)
CIE-LABlab(67.23, 47.44, -47.53)
CIE-LCHlch(67.23, 67.16, 314.95°)
OKLaboklab(73.7% 0.1151 -0.1324)
OKLCHoklch(73.7% 0.175 311)
XYZxyz(50.9542, 36.9324, 94.8684)
Luminance0.3693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD86FA #B3FA86
analogous
#9386FA #CD86FA #FA86ED
triadic
#CD86FA #FACD86 #86FACD
tetradic
#CD86FA #FA9386 #B3FA86 #86EDFA
square
#CD86FA #FA9386 #B3FA86 #86EDFA
split-complementary
#CD86FA #EDFA86 #86FA93
monochromatic
#9C10F5 #B54BF8 #CD86FA #E5C1FC #F3E2FE

Accessibility & contrast

On white

2.50
#CD86FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#CD86FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD86FA
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD86FA#FFFFFF#000000##000000
##CD86FA1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FE
Deuteranopia (green-blind)
#7FA5F7
Tritanopia (blue-blind)
#C898B4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd86fa;
/* rgb */ color: rgb(205, 134, 250);
/* oklch */ color: oklch(73.7% 0.175 311.0);
Tailwind
colors: {
  custom: {
    50: '#deabfc',
    500: '#cd86fa',
    950: '#000000',
  },
}
SCSS
$custom: #cd86fa;
$custom-light: #deabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd86fa",
  "rgb": {
    "r": 205,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 276.724,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73699,
    "c": 0.17538,
    "h": 311
  },
  "luminance": 0.36931
}

Semantic roles & 50–950 ramp

primary
#CD86FA
secondary
#E2F6D5
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD86FA

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

Preview Lab → · Contrast checker → · Palette generator →

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