#D86AFB#D86AFB

#D86AFB is a light, highly saturated purple. Relative luminance 0.319; OKLCH L 71.1% C 0.224 H 317.3°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#D86AFB
RGBrgb(216, 106, 251)
HSLhsl(286, 95%, 70%)
HSVhsv(286, 58%, 98%)
CMYKcmyk(13.9%, 57.8%, 0%, 1.6%)
CIE-LABlab(63.24, 64.44, -54.30)
CIE-LCHlch(63.24, 84.27, 319.88°)
OKLaboklab(71.05% 0.1643 -0.1517)
OKLCHoklch(71.05% 0.224 317.3)
XYZxyz(50.8830, 31.8739, 94.7201)
Luminance0.3187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D86AFB #8DFB6A
analogous
#8F6AFB #D86AFB #FB6AD6
triadic
#D86AFB #FBD86A #6AFBD8
tetradic
#D86AFB #FB8F6A #8DFB6A #6AD6FB
square
#D86AFB #FB8F6A #8DFB6A #6AD6FB
split-complementary
#D86AFB #D6FB6A #6AFB8F
monochromatic
#AF06E4 #C82EF9 #D86AFB #E8A6FD #F7E1FE

Accessibility & contrast

On white

2.85
#D86AFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#D86AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D86AFB
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D86AFB#FFFFFF#000000##000000
##D86AFB1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4492FF
Deuteranopia (green-blind)
#6E9DF7
Tritanopia (blue-blind)
#D782A9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d86afb;
/* rgb */ color: rgb(216, 106, 251);
/* oklch */ color: oklch(71.1% 0.224 317.3);
Tailwind
colors: {
  custom: {
    50: '#e79afd',
    500: '#d86afb',
    950: '#000000',
  },
}
SCSS
$custom: #d86afb;
$custom-light: #e79afd;
$custom-dark: #000000;
JSON
{
  "hex": "#d86afb",
  "rgb": {
    "r": 216,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 285.517,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.71052,
    "c": 0.22357,
    "h": 317.3
  },
  "luminance": 0.31872
}

Semantic roles & 50–950 ramp

primary
#D86AFB
secondary
#D6F5CC
accent
#E60037
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D86AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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