#D8A5FC#D8A5FC

#D8A5FC is a light, vivid violet. Relative luminance 0.485; OKLCH L 80.0% C 0.131 H 310.5°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#D8A5FC
RGBrgb(216, 165, 252)
HSLhsl(275, 94%, 82%)
HSVhsv(275, 35%, 99%)
CMYKcmyk(14.3%, 34.5%, 0%, 1.2%)
CIE-LABlab(75.16, 34.40, -36.13)
CIE-LCHlch(75.16, 49.89, 313.59°)
OKLaboklab(79.96% 0.085 -0.0995)
OKLCHoklch(79.96% 0.131 310.5)
XYZxyz(59.3416, 48.5382, 98.3193)
Luminance0.4854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A5FC #C9FCA5
analogous
#ADA5FC #D8A5FC #FCA5F5
triadic
#D8A5FC #FCD8A5 #A5FCD8
tetradic
#D8A5FC #FCADA5 #C9FCA5 #A5F5FC
square
#D8A5FC #FCADA5 #C9FCA5 #A5F5FC
split-complementary
#D8A5FC #F5FCA5 #A5FCAD
monochromatic
#A52FF8 #BE6AFA #D8A5FC #F2E0FE #F2E1FE

Accessibility & contrast

On white

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

On black

10.71
#D8A5FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A5FC
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A5FC#FFFFFF#000000##000000
##D8A5FC1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B7FF
Deuteranopia (green-blind)
#A1BAF9
Tritanopia (blue-blind)
#D4B1C5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d8a5fc;
/* rgb */ color: rgb(216, 165, 252);
/* oklch */ color: oklch(80.0% 0.131 310.5);
Tailwind
colors: {
  custom: {
    50: '#e5c0fd',
    500: '#d8a5fc',
    950: '#000000',
  },
}
SCSS
$custom: #d8a5fc;
$custom-light: #e5c0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a5fc",
  "rgb": {
    "r": 216,
    "g": 165,
    "b": 252
  },
  "hsl": {
    "h": 275.172,
    "s": 93.548,
    "l": 81.765
  },
  "oklch": {
    "l": 0.79957,
    "c": 0.13084,
    "h": 310.5
  },
  "luminance": 0.48537
}

Semantic roles & 50–950 ramp

primary
#D8A5FC
secondary
#E3F6D5
accent
#E6005F
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D8A5FC

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

Preview Lab → · Contrast checker → · Palette generator →

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