#D8A5FE#D8A5FE

#D8A5FE is a light, vivid violet. Relative luminance 0.487; OKLCH L 80.0% C 0.133 H 309.9°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#D8A5FE
RGBrgb(216, 165, 254)
HSLhsl(274, 98%, 82%)
HSVhsv(274, 35%, 100%)
CMYKcmyk(15%, 35%, 0%, 0.4%)
CIE-LABlab(75.24, 34.82, -37.09)
CIE-LCHlch(75.24, 50.87, 313.19°)
OKLaboklab(80.04% 0.0854 -0.1022)
OKLCHoklch(80.04% 0.133 309.9)
XYZxyz(59.6602, 48.6657, 99.9972)
Luminance0.4867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A5FE #CBFEA5
analogous
#ACA5FE #D8A5FE #FEA5F8
triadic
#D8A5FE #FED8A5 #A5FED8
tetradic
#D8A5FE #FEACA5 #CBFEA5 #A5F8FE
square
#D8A5FE #FEACA5 #CBFEA5 #A5F8FE
split-complementary
#D8A5FE #F8FEA5 #A5FEAC
monochromatic
#A42CFD #BE68FD #D8A5FE #F2E1FF #F2E1FF

Accessibility & contrast

On white

1.96
#D8A5FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#D8A5FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A5FE
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A5FE#FFFFFF#000000##000000
##D8A5FE1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B7FF
Deuteranopia (green-blind)
#A0BAFB
Tritanopia (blue-blind)
#D4B2C6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d8a5fe;
/* rgb */ color: rgb(216, 165, 254);
/* oklch */ color: oklch(80.0% 0.133 309.9);
Tailwind
colors: {
  custom: {
    50: '#e5c0ff',
    500: '#d8a5fe',
    950: '#000000',
  },
}
SCSS
$custom: #d8a5fe;
$custom-light: #e5c0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a5fe",
  "rgb": {
    "r": 216,
    "g": 165,
    "b": 254
  },
  "hsl": {
    "h": 274.382,
    "s": 97.802,
    "l": 82.157
  },
  "oklch": {
    "l": 0.80044,
    "c": 0.13323,
    "h": 309.9
  },
  "luminance": 0.48665
}

Semantic roles & 50–950 ramp

primary
#D8A5FE
secondary
#E3F7D4
accent
#E60062
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #D8A5FE

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

Preview Lab → · Contrast checker → · Palette generator →

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