#D8A5FA#D8A5FA

#D8A5FA is a light, vivid violet. Relative luminance 0.484; OKLCH L 79.9% C 0.128 H 311.1°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#D8A5FA
RGBrgb(216, 165, 250)
HSLhsl(276, 89%, 81%)
HSVhsv(276, 34%, 98%)
CMYKcmyk(13.6%, 34%, 0%, 2%)
CIE-LABlab(75.08, 33.98, -35.17)
CIE-LCHlch(75.08, 48.91, 314.01°)
OKLaboklab(79.87% 0.0845 -0.0968)
OKLCHoklch(79.87% 0.128 311.1)
XYZxyz(59.0264, 48.4121, 96.6589)
Luminance0.4841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A5FA #C7FAA5
analogous
#AEA5FA #D8A5FA #FAA5F2
triadic
#D8A5FA #FAD8A5 #A5FAD8
tetradic
#D8A5FA #FAAEA5 #C7FAA5 #A5F2FA
square
#D8A5FA #FAAEA5 #C7FAA5 #A5F2FA
split-complementary
#D8A5FA #F2FAA5 #A5FAAE
monochromatic
#A631F4 #BF6BF7 #D8A5FA #F1DFFD #F2E2FD

Accessibility & contrast

On white

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

On black

10.68
#D8A5FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A5FA
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A5FA#FFFFFF#000000##000000
##D8A5FA1.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B6FD
Deuteranopia (green-blind)
#A1BAF7
Tritanopia (blue-blind)
#D5B1C4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d8a5fa;
/* rgb */ color: rgb(216, 165, 250);
/* oklch */ color: oklch(79.9% 0.128 311.1);
Tailwind
colors: {
  custom: {
    50: '#e5c0fc',
    500: '#d8a5fa',
    950: '#000000',
  },
}
SCSS
$custom: #d8a5fa;
$custom-light: #e5c0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a5fa",
  "rgb": {
    "r": 216,
    "g": 165,
    "b": 250
  },
  "hsl": {
    "h": 276,
    "s": 89.474,
    "l": 81.373
  },
  "oklch": {
    "l": 0.79871,
    "c": 0.12848,
    "h": 311.1
  },
  "luminance": 0.48411
}

Semantic roles & 50–950 ramp

primary
#D8A5FA
secondary
#E2F5D6
accent
#E6005C
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D8A5FA

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

Preview Lab → · Contrast checker → · Palette generator →

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