#D8A6FB#D8A6FB

#D8A6FB is a light, vivid violet. Relative luminance 0.488; OKLCH L 80.1% C 0.128 H 310.6°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#D8A6FB
RGBrgb(216, 166, 251)
HSLhsl(275, 91%, 82%)
HSVhsv(275, 34%, 98%)
CMYKcmyk(13.9%, 33.9%, 0%, 1.6%)
CIE-LABlab(75.35, 33.65, -35.30)
CIE-LCHlch(75.35, 48.77, 313.63°)
OKLaboklab(80.09% 0.0833 -0.0971)
OKLCHoklch(80.09% 0.128 310.6)
XYZxyz(59.3646, 48.8372, 97.5473)
Luminance0.4884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A6FB #C9FBA6
analogous
#AEA6FB #D8A6FB #FBA6F4
triadic
#D8A6FB #FBD8A6 #A6FBD8
tetradic
#D8A6FB #FBAEA6 #C9FBA6 #A6F4FB
square
#D8A6FB #FBAEA6 #C9FBA6 #A6F4FB
split-complementary
#D8A6FB #F4FBA6 #A6FBAE
monochromatic
#A531F6 #BE6BF8 #D8A6FB #F2E1FE #F2E2FE

Accessibility & contrast

On white

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

On black

10.77
#D8A6FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A6FB
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A6FB#FFFFFF#000000##000000
##D8A6FB1.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B7FE
Deuteranopia (green-blind)
#A2BBF8
Tritanopia (blue-blind)
#D4B2C5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d8a6fb;
/* rgb */ color: rgb(216, 166, 251);
/* oklch */ color: oklch(80.1% 0.128 310.6);
Tailwind
colors: {
  custom: {
    50: '#e5c1fd',
    500: '#d8a6fb',
    950: '#000000',
  },
}
SCSS
$custom: #d8a6fb;
$custom-light: #e5c1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a6fb",
  "rgb": {
    "r": 216,
    "g": 166,
    "b": 251
  },
  "hsl": {
    "h": 275.294,
    "s": 91.398,
    "l": 81.765
  },
  "oklch": {
    "l": 0.80086,
    "c": 0.12798,
    "h": 310.6
  },
  "luminance": 0.48836
}

Semantic roles & 50–950 ramp

primary
#D8A6FB
secondary
#E3F6D5
accent
#E6005F
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D8A6FB

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

Preview Lab → · Contrast checker → · Palette generator →

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