#D8A1FA#D8A1FA

#D8A1FA is a light, vivid violet. Relative luminance 0.470; OKLCH L 79.2% C 0.135 H 311.8°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#D8A1FA
RGBrgb(216, 161, 250)
HSLhsl(277, 90%, 81%)
HSVhsv(277, 36%, 98%)
CMYKcmyk(13.6%, 35.6%, 0%, 2%)
CIE-LABlab(74.18, 36.14, -36.57)
CIE-LCHlch(74.18, 51.41, 314.66°)
OKLaboklab(79.19% 0.0902 -0.1007)
OKLCHoklch(79.19% 0.135 311.8)
XYZxyz(58.3161, 46.9917, 96.4222)
Luminance0.4699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A1FA #C3FAA1
analogous
#ABA1FA #D8A1FA #FAA1EF
triadic
#D8A1FA #FAD8A1 #A1FAD8
tetradic
#D8A1FA #FAABA1 #C3FAA1 #A1EFFA
square
#D8A1FA #FAABA1 #C3FAA1 #A1EFFA
split-complementary
#D8A1FA #EFFAA1 #A1FAAB
monochromatic
#A82DF4 #C067F7 #D8A1FA #F0DBFD #F3E2FD

Accessibility & contrast

On white

2.02
#D8A1FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#D8A1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A1FA
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A1FA#FFFFFF#000000##000000
##D8A1FA1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B4FD
Deuteranopia (green-blind)
#9EB8F7
Tritanopia (blue-blind)
#D5ADC2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d8a1fa;
/* rgb */ color: rgb(216, 161, 250);
/* oklch */ color: oklch(79.2% 0.135 311.8);
Tailwind
colors: {
  custom: {
    50: '#e5bdfc',
    500: '#d8a1fa',
    950: '#000000',
  },
}
SCSS
$custom: #d8a1fa;
$custom-light: #e5bdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a1fa",
  "rgb": {
    "r": 216,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 277.079,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.79188,
    "c": 0.1352,
    "h": 311.8
  },
  "luminance": 0.46991
}

Semantic roles & 50–950 ramp

primary
#D8A1FA
secondary
#E2F6D5
accent
#E60058
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D8A1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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