#D8A8EF#D8A8EF

#D8A8EF is a light, moderate purple. Relative luminance 0.488; OKLCH L 79.9% C 0.110 H 314.5°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#D8A8EF
RGBrgb(216, 168, 239)
HSLhsl(281, 69%, 80%)
HSVhsv(281, 30%, 94%)
CMYKcmyk(9.6%, 29.7%, 0%, 6.3%)
CIE-LABlab(75.35, 30.10, -28.81)
CIE-LCHlch(75.35, 41.67, 316.26°)
OKLaboklab(79.94% 0.0774 -0.0787)
OKLCHoklch(79.94% 0.11 314.5)
XYZxyz(57.8991, 48.8372, 88.0210)
Luminance0.4884 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A8EF #BFEFA8
analogous
#B4A8EF #D8A8EF #EFA8E3
triadic
#D8A8EF #EFD8A8 #A8EFD8
tetradic
#D8A8EF #EFB4A8 #BFEFA8 #A8E3EF
square
#D8A8EF #EFB4A8 #BFEFA8 #A8E3EF
split-complementary
#D8A8EF #E3EFA8 #A8EFB4
monochromatic
#AA41DC #C174E5 #D8A8EF #EFDCF9 #F3E5FA

Accessibility & contrast

On white

1.95
#D8A8EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#D8A8EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A8EF
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A8EF#FFFFFF#000000##000000
##D8A8EF1.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB7F2
Deuteranopia (green-blind)
#A8BBED
Tritanopia (blue-blind)
#D7B1C1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d8a8ef;
/* rgb */ color: rgb(216, 168, 239);
/* oklch */ color: oklch(79.9% 0.110 314.5);
Tailwind
colors: {
  custom: {
    50: '#e4c2f4',
    500: '#d8a8ef',
    950: '#000000',
  },
}
SCSS
$custom: #d8a8ef;
$custom-light: #e4c2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a8ef",
  "rgb": {
    "r": 216,
    "g": 168,
    "b": 239
  },
  "hsl": {
    "h": 280.563,
    "s": 68.932,
    "l": 79.804
  },
  "oklch": {
    "l": 0.79936,
    "c": 0.11041,
    "h": 314.5
  },
  "luminance": 0.48836
}

Semantic roles & 50–950 ramp

primary
#D8A8EF
secondary
#E1F2D9
accent
#D11552
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #D8A8EF

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

Preview Lab → · Contrast checker → · Palette generator →

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