#D8A6FF#D8A6FF

#D8A6FF is a light, vivid violet. Relative luminance 0.491; OKLCH L 80.3% C 0.133 H 309.4°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#D8A6FF
RGBrgb(216, 166, 255)
HSLhsl(274, 100%, 83%)
HSVhsv(274, 35%, 100%)
CMYKcmyk(15.3%, 34.9%, 0%, 0%)
CIE-LABlab(75.51, 34.49, -37.22)
CIE-LCHlch(75.51, 50.74, 312.82°)
OKLaboklab(80.26% 0.0843 -0.1026)
OKLCHoklch(80.26% 0.133 309.4)
XYZxyz(60.0018, 49.0920, 100.9031)
Luminance0.4909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A6FF #CDFFA6
analogous
#ACA6FF #D8A6FF #FFA6F9
triadic
#D8A6FF #FFD8A6 #A6FFD8
tetradic
#D8A6FF #FFACA6 #CDFFA6 #A6F9FF
square
#D8A6FF #FFACA6 #CDFFA6 #A6F9FF
split-complementary
#D8A6FF #F9FFA6 #A6FFAC
monochromatic
#A22CFF #BD69FF #D8A6FF #F2E0FF #F2E0FF

Accessibility & contrast

On white

1.94
#D8A6FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#D8A6FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A6FF
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A6FF#FFFFFF#000000##000000
##D8A6FF1.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B8FF
Deuteranopia (green-blind)
#A0BBFC
Tritanopia (blue-blind)
#D3B3C7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d8a6ff;
/* rgb */ color: rgb(216, 166, 255);
/* oklch */ color: oklch(80.3% 0.133 309.4);
Tailwind
colors: {
  custom: {
    50: '#e5c1ff',
    500: '#d8a6ff',
    950: '#000000',
  },
}
SCSS
$custom: #d8a6ff;
$custom-light: #e5c1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a6ff",
  "rgb": {
    "r": 216,
    "g": 166,
    "b": 255
  },
  "hsl": {
    "h": 273.708,
    "s": 100,
    "l": 82.549
  },
  "oklch": {
    "l": 0.80259,
    "c": 0.13276,
    "h": 309.4
  },
  "luminance": 0.49091
}

Semantic roles & 50–950 ramp

primary
#D8A6FF
secondary
#E3F7D4
accent
#E60065
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #D8A6FF

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

Preview Lab → · Contrast checker → · Palette generator →

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