#D8A6FC#D8A6FC

#D8A6FC is a light, vivid violet. Relative luminance 0.489; OKLCH L 80.1% C 0.129 H 310.3°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#D8A6FC
RGBrgb(216, 166, 252)
HSLhsl(275, 93%, 82%)
HSVhsv(275, 34%, 99%)
CMYKcmyk(14.3%, 34.1%, 0%, 1.2%)
CIE-LABlab(75.39, 33.86, -35.78)
CIE-LCHlch(75.39, 49.26, 313.42°)
OKLaboklab(80.13% 0.0836 -0.0985)
OKLCHoklch(80.13% 0.129 310.3)
XYZxyz(59.5227, 48.9004, 98.3796)
Luminance0.4890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A6FC #CAFCA6
analogous
#ADA6FC #D8A6FC #FCA6F5
triadic
#D8A6FC #FCD8A6 #A6FCD8
tetradic
#D8A6FC #FCADA6 #CAFCA6 #A6F5FC
square
#D8A6FC #FCADA6 #CAFCA6 #A6F5FC
split-complementary
#D8A6FC #F5FCA6 #A6FCAD
monochromatic
#A430F8 #BE6BFA #D8A6FC #F2E1FE #F2E1FE

Accessibility & contrast

On white

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

On black

10.78
#D8A6FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A6FC
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A6FC#FFFFFF#000000##000000
##D8A6FC1.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8a6fc;
/* rgb */ color: rgb(216, 166, 252);
/* oklch */ color: oklch(80.1% 0.129 310.3);
Tailwind
colors: {
  custom: {
    50: '#e5c1fd',
    500: '#d8a6fc',
    950: '#000000',
  },
}
SCSS
$custom: #d8a6fc;
$custom-light: #e5c1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a6fc",
  "rgb": {
    "r": 216,
    "g": 166,
    "b": 252
  },
  "hsl": {
    "h": 274.884,
    "s": 93.478,
    "l": 81.961
  },
  "oklch": {
    "l": 0.80129,
    "c": 0.12918,
    "h": 310.3
  },
  "luminance": 0.489
}

Semantic roles & 50–950 ramp

primary
#D8A6FC
secondary
#E3F6D5
accent
#E60060
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D8A6FC

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

Preview Lab → · Contrast checker → · Palette generator →

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