#D8A1FF#D8A1FF

#D8A1FF is a light, vivid violet. Relative luminance 0.473; OKLCH L 79.4% C 0.141 H 310.3°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#D8A1FF
RGBrgb(216, 161, 255)
HSLhsl(275, 100%, 82%)
HSVhsv(275, 37%, 100%)
CMYKcmyk(15.3%, 36.9%, 0%, 0%)
CIE-LABlab(74.39, 37.19, -38.96)
CIE-LCHlch(74.39, 53.86, 313.67°)
OKLaboklab(79.41% 0.0913 -0.1076)
OKLCHoklch(79.41% 0.141 310.3)
XYZxyz(59.1105, 47.3095, 100.6060)
Luminance0.4731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A1FF #C8FFA1
analogous
#A9A1FF #D8A1FF #FFA1F7
triadic
#D8A1FF #FFD8A1 #A1FFD8
tetradic
#D8A1FF #FFA9A1 #C8FFA1 #A1F7FF
square
#D8A1FF #FFA9A1 #C8FFA1 #A1F7FF
split-complementary
#D8A1FF #F7FFA1 #A1FFA9
monochromatic
#A527FF #BF64FF #D8A1FF #F1DEFF #F2E0FF

Accessibility & contrast

On white

2.01
#D8A1FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#D8A1FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A1FF
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A1FF#FFFFFF#000000##000000
##D8A1FF1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB4FF
Deuteranopia (green-blind)
#9CB8FC
Tritanopia (blue-blind)
#D4AEC4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d8a1ff;
/* rgb */ color: rgb(216, 161, 255);
/* oklch */ color: oklch(79.4% 0.141 310.3);
Tailwind
colors: {
  custom: {
    50: '#e5bdff',
    500: '#d8a1ff',
    950: '#000000',
  },
}
SCSS
$custom: #d8a1ff;
$custom-light: #e5bdff;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a1ff",
  "rgb": {
    "r": 216,
    "g": 161,
    "b": 255
  },
  "hsl": {
    "h": 275.106,
    "s": 100,
    "l": 81.569
  },
  "oklch": {
    "l": 0.79409,
    "c": 0.14108,
    "h": 310.3
  },
  "luminance": 0.47309
}

Semantic roles & 50–950 ramp

primary
#D8A1FF
secondary
#E2F7D4
accent
#E6005F
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #D8A1FF

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

Preview Lab → · Contrast checker → · Palette generator →

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