#D8A6FD#D8A6FD

#D8A6FD is a light, vivid violet. Relative luminance 0.490; OKLCH L 80.2% C 0.130 H 310.0°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#D8A6FD
RGBrgb(216, 166, 253)
HSLhsl(274, 96%, 82%)
HSVhsv(274, 34%, 99%)
CMYKcmyk(14.6%, 34.4%, 0%, 0.8%)
CIE-LABlab(75.43, 34.07, -36.26)
CIE-LCHlch(75.43, 49.75, 313.21°)
OKLaboklab(80.17% 0.0838 -0.0999)
OKLCHoklch(80.17% 0.13 310)
XYZxyz(59.6816, 48.9639, 99.2164)
Luminance0.4896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A6FD #CBFDA6
analogous
#ADA6FD #D8A6FD #FDA6F6
triadic
#D8A6FD #FDD8A6 #A6FDD8
tetradic
#D8A6FD #FDADA6 #CBFDA6 #A6F6FD
square
#D8A6FD #FDADA6 #CBFDA6 #A6F6FD
split-complementary
#D8A6FD #F6FDA6 #A6FDAD
monochromatic
#A42EFA #BE6AFC #D8A6FD #F2E1FE #F2E1FE

Accessibility & contrast

On white

1.95
#D8A6FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#D8A6FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A6FD
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A6FD#FFFFFF#000000##000000
##D8A6FD1.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B7FF
Deuteranopia (green-blind)
#A1BBFA
Tritanopia (blue-blind)
#D4B2C6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d8a6fd;
/* rgb */ color: rgb(216, 166, 253);
/* oklch */ color: oklch(80.2% 0.130 310.0);
Tailwind
colors: {
  custom: {
    50: '#e5c1fe',
    500: '#d8a6fd',
    950: '#000000',
  },
}
SCSS
$custom: #d8a6fd;
$custom-light: #e5c1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a6fd",
  "rgb": {
    "r": 216,
    "g": 166,
    "b": 253
  },
  "hsl": {
    "h": 274.483,
    "s": 95.604,
    "l": 82.157
  },
  "oklch": {
    "l": 0.80172,
    "c": 0.13036,
    "h": 310
  },
  "luminance": 0.48963
}

Semantic roles & 50–950 ramp

primary
#D8A6FD
secondary
#E3F7D4
accent
#E60062
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #D8A6FD

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

Preview Lab → · Contrast checker → · Palette generator →

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