#D8A1FC#D8A1FC

#D8A1FC is a light, vivid violet. Relative luminance 0.471; OKLCH L 79.3% C 0.138 H 311.2°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#D8A1FC
RGBrgb(216, 161, 252)
HSLhsl(276, 94%, 81%)
HSVhsv(276, 36%, 99%)
CMYKcmyk(14.3%, 36.1%, 0%, 1.2%)
CIE-LABlab(74.27, 36.56, -37.53)
CIE-LCHlch(74.27, 52.39, 314.25°)
OKLaboklab(79.28% 0.0906 -0.1035)
OKLCHoklch(79.28% 0.138 311.2)
XYZxyz(58.6314, 47.1178, 98.0825)
Luminance0.4712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A1FC #C5FCA1
analogous
#AAA1FC #D8A1FC #FCA1F2
triadic
#D8A1FC #FCD8A1 #A1FCD8
tetradic
#D8A1FC #FCAAA1 #C5FCA1 #A1F2FC
square
#D8A1FC #FCAAA1 #C5FCA1 #A1F2FC
split-complementary
#D8A1FC #F2FCA1 #A1FCAA
monochromatic
#A72AF8 #BF66FA #D8A1FC #F1DCFE #F3E1FE

Accessibility & contrast

On white

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

On black

10.42
#D8A1FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A1FC
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A1FC#FFFFFF#000000##000000
##D8A1FC1.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B4FF
Deuteranopia (green-blind)
#9DB8F9
Tritanopia (blue-blind)
#D4AEC3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d8a1fc;
/* rgb */ color: rgb(216, 161, 252);
/* oklch */ color: oklch(79.3% 0.138 311.2);
Tailwind
colors: {
  custom: {
    50: '#e5bdfd',
    500: '#d8a1fc',
    950: '#000000',
  },
}
SCSS
$custom: #d8a1fc;
$custom-light: #e5bdfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a1fc",
  "rgb": {
    "r": 216,
    "g": 161,
    "b": 252
  },
  "hsl": {
    "h": 276.264,
    "s": 93.814,
    "l": 80.98
  },
  "oklch": {
    "l": 0.79276,
    "c": 0.13755,
    "h": 311.2
  },
  "luminance": 0.47117
}

Semantic roles & 50–950 ramp

primary
#D8A1FC
secondary
#E2F6D5
accent
#E6005B
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D8A1FC

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

Preview Lab → · Contrast checker → · Palette generator →

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