#D8AEFD#D8AEFD

#D8AEFD is a light, moderate violet. Relative luminance 0.520; OKLCH L 81.6% C 0.117 H 308.3°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#D8AEFD
RGBrgb(216, 174, 253)
HSLhsl(272, 95%, 84%)
HSVhsv(272, 31%, 99%)
CMYKcmyk(14.6%, 31.2%, 0%, 0.8%)
CIE-LABlab(77.26, 29.74, -33.43)
CIE-LCHlch(77.26, 44.74, 311.65°)
OKLaboklab(81.57% 0.0725 -0.0918)
OKLCHoklch(81.57% 0.117 308.3)
XYZxyz(61.1813, 51.9634, 99.7163)
Luminance0.5196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8AEFD #D3FDAE
analogous
#B0AEFD #D8AEFD #FDAEFA
triadic
#D8AEFD #FDD8AE #AEFDD8
tetradic
#D8AEFD #FDB0AE #D3FDAE #AEFAFD
square
#D8AEFD #FDB0AE #D3FDAE #AEFAFD
split-complementary
#D8AEFD #FAFDAE #AEFDB0
monochromatic
#9E37FA #BB72FC #D8AEFD #F1E1FE #F1E1FE

Accessibility & contrast

On white

1.84
#D8AEFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#D8AEFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8AEFD
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8AEFD#FFFFFF#000000##000000
##D8AEFD1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBDFF
Deuteranopia (green-blind)
#A8BFFB
Tritanopia (blue-blind)
#D3B9CB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d8aefd;
/* rgb */ color: rgb(216, 174, 253);
/* oklch */ color: oklch(81.6% 0.117 308.3);
Tailwind
colors: {
  custom: {
    50: '#e5c6fe',
    500: '#d8aefd',
    950: '#000000',
  },
}
SCSS
$custom: #d8aefd;
$custom-light: #e5c6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d8aefd",
  "rgb": {
    "r": 216,
    "g": 174,
    "b": 253
  },
  "hsl": {
    "h": 271.899,
    "s": 95.181,
    "l": 83.725
  },
  "oklch": {
    "l": 0.81567,
    "c": 0.11698,
    "h": 308.3
  },
  "luminance": 0.51963
}

Semantic roles & 50–950 ramp

primary
#D8AEFD
secondary
#A4E26D
accent
#E6006B
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#161318
muted
#848286

Preview Lab

Preview with #D8AEFD

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

Preview Lab → · Contrast checker → · Palette generator →

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