#D8A4FE#D8A4FE

#D8A4FE is a light, vivid violet. Relative luminance 0.483; OKLCH L 79.9% C 0.135 H 310.1°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#D8A4FE
RGBrgb(216, 164, 254)
HSLhsl(275, 98%, 82%)
HSVhsv(275, 35%, 100%)
CMYKcmyk(15%, 35.4%, 0%, 0.4%)
CIE-LABlab(75.02, 35.36, -37.44)
CIE-LCHlch(75.02, 51.50, 313.36°)
OKLaboklab(79.87% 0.0868 -0.1032)
OKLCHoklch(79.87% 0.135 310.1)
XYZxyz(59.4805, 48.3064, 99.9373)
Luminance0.4831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A4FE #CAFEA4
analogous
#ABA4FE #D8A4FE #FEA4F7
triadic
#D8A4FE #FED8A4 #A4FED8
tetradic
#D8A4FE #FEABA4 #CAFEA4 #A4F7FE
square
#D8A4FE #FEABA4 #CAFEA4 #A4F7FE
split-complementary
#D8A4FE #F7FEA4 #A4FEAB
monochromatic
#A42BFD #BE67FD #D8A4FE #F2E1FF #F2E1FF

Accessibility & contrast

On white

1.97
#D8A4FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#D8A4FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A4FE
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A4FE#FFFFFF#000000##000000
##D8A4FE1.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B6FF
Deuteranopia (green-blind)
#9FBAFB
Tritanopia (blue-blind)
#D4B1C5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d8a4fe;
/* rgb */ color: rgb(216, 164, 254);
/* oklch */ color: oklch(79.9% 0.135 310.1);
Tailwind
colors: {
  custom: {
    50: '#e5bfff',
    500: '#d8a4fe',
    950: '#000000',
  },
}
SCSS
$custom: #d8a4fe;
$custom-light: #e5bfff;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a4fe",
  "rgb": {
    "r": 216,
    "g": 164,
    "b": 254
  },
  "hsl": {
    "h": 274.667,
    "s": 97.826,
    "l": 81.961
  },
  "oklch": {
    "l": 0.79873,
    "c": 0.1349,
    "h": 310.1
  },
  "luminance": 0.48306
}

Semantic roles & 50–950 ramp

primary
#D8A4FE
secondary
#E3F7D4
accent
#E60061
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #D8A4FE

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

Preview Lab → · Contrast checker → · Palette generator →

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