#CD86FB#CD86FB

#CD86FB is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.8% C 0.177 H 310.7°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#CD86FB
RGBrgb(205, 134, 251)
HSLhsl(276, 94%, 75%)
HSVhsv(276, 47%, 98%)
CMYKcmyk(18.3%, 46.6%, 0%, 1.6%)
CIE-LABlab(67.27, 47.66, -48.00)
CIE-LCHlch(67.27, 67.64, 314.79°)
OKLaboklab(73.75% 0.1152 -0.1337)
OKLCHoklch(73.75% 0.177 310.7)
XYZxyz(51.1114, 36.9953, 95.6964)
Luminance0.3699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD86FB #B4FB86
analogous
#9286FB #CD86FB #FB86EF
triadic
#CD86FB #FBCD86 #86FBCD
tetradic
#CD86FB #FB9286 #B4FB86 #86EFFB
square
#CD86FB #FB9286 #B4FB86 #86EFFB
split-complementary
#CD86FB #EFFB86 #86FB92
monochromatic
#9C10F7 #B54BF9 #CD86FB #E5C1FD #F3E1FE

Accessibility & contrast

On white

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

On black

8.40
#CD86FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD86FB
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD86FB#FFFFFF#000000##000000
##CD86FB1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FF
Deuteranopia (green-blind)
#7EA5F8
Tritanopia (blue-blind)
#C899B5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd86fb;
/* rgb */ color: rgb(205, 134, 251);
/* oklch */ color: oklch(73.8% 0.177 310.7);
Tailwind
colors: {
  custom: {
    50: '#deabfd',
    500: '#cd86fb',
    950: '#000000',
  },
}
SCSS
$custom: #cd86fb;
$custom-light: #deabfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd86fb",
  "rgb": {
    "r": 205,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 276.41,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7375,
    "c": 0.17652,
    "h": 310.7
  },
  "luminance": 0.36994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD86FB

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

Preview Lab → · Contrast checker → · Palette generator →

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