#D8A6FA#D8A6FA

#D8A6FA is a light, vivid violet. Relative luminance 0.488; OKLCH L 80.0% C 0.127 H 310.9°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#D8A6FA
RGBrgb(216, 166, 250)
HSLhsl(276, 89%, 82%)
HSVhsv(276, 34%, 98%)
CMYKcmyk(13.6%, 33.6%, 0%, 2%)
CIE-LABlab(75.31, 33.44, -34.82)
CIE-LCHlch(75.31, 48.28, 313.84°)
OKLaboklab(80.04% 0.0831 -0.0958)
OKLCHoklch(80.04% 0.127 310.9)
XYZxyz(59.2074, 48.7743, 96.7193)
Luminance0.4877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A6FA #C8FAA6
analogous
#AEA6FA #D8A6FA #FAA6F2
triadic
#D8A6FA #FAD8A6 #A6FAD8
tetradic
#D8A6FA #FAAEA6 #C8FAA6 #A6F2FA
square
#D8A6FA #FAAEA6 #C8FAA6 #A6F2FA
split-complementary
#D8A6FA #F2FAA6 #A6FAAE
monochromatic
#A532F3 #BF6CF7 #D8A6FA #F1E0FD #F2E2FD

Accessibility & contrast

On white

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

On black

10.75
#D8A6FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A6FA
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A6FA#FFFFFF#000000##000000
##D8A6FA1.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B7FD
Deuteranopia (green-blind)
#A2BBF8
Tritanopia (blue-blind)
#D5B1C5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d8a6fa;
/* rgb */ color: rgb(216, 166, 250);
/* oklch */ color: oklch(80.0% 0.127 310.9);
Tailwind
colors: {
  custom: {
    50: '#e5c1fc',
    500: '#d8a6fa',
    950: '#000000',
  },
}
SCSS
$custom: #d8a6fa;
$custom-light: #e5c1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a6fa",
  "rgb": {
    "r": 216,
    "g": 166,
    "b": 250
  },
  "hsl": {
    "h": 275.714,
    "s": 89.362,
    "l": 81.569
  },
  "oklch": {
    "l": 0.80043,
    "c": 0.12678,
    "h": 310.9
  },
  "luminance": 0.48773
}

Semantic roles & 50–950 ramp

primary
#D8A6FA
secondary
#E2F5D6
accent
#E6005D
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D8A6FA

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

Preview Lab → · Contrast checker → · Palette generator →

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