#D8A7EF#D8A7EF

#D8A7EF is a light, moderate purple. Relative luminance 0.485; OKLCH L 79.8% C 0.112 H 314.7°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#D8A7EF
RGBrgb(216, 167, 239)
HSLhsl(281, 69%, 80%)
HSVhsv(281, 30%, 94%)
CMYKcmyk(9.6%, 30.1%, 0%, 6.3%)
CIE-LABlab(75.12, 30.64, -29.16)
CIE-LCHlch(75.12, 42.30, 316.42°)
OKLaboklab(79.76% 0.0789 -0.0797)
OKLCHoklch(79.76% 0.112 314.7)
XYZxyz(57.7152, 48.4694, 87.9597)
Luminance0.4847 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A7EF #BEEFA7
analogous
#B4A7EF #D8A7EF #EFA7E2
triadic
#D8A7EF #EFD8A7 #A7EFD8
tetradic
#D8A7EF #EFB4A7 #BEEFA7 #A7E2EF
square
#D8A7EF #EFB4A7 #BEEFA7 #A7E2EF
split-complementary
#D8A7EF #E2EFA7 #A7EFB4
monochromatic
#AA3FDC #C173E6 #D8A7EF #EFDBF8 #F4E5FA

Accessibility & contrast

On white

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

On black

10.69
#D8A7EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A7EF
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A7EF#FFFFFF#000000##000000
##D8A7EF1.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB6F2
Deuteranopia (green-blind)
#A7BAED
Tritanopia (blue-blind)
#D7B0C1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d8a7ef;
/* rgb */ color: rgb(216, 167, 239);
/* oklch */ color: oklch(79.8% 0.112 314.7);
Tailwind
colors: {
  custom: {
    50: '#e5c1f4',
    500: '#d8a7ef',
    950: '#000000',
  },
}
SCSS
$custom: #d8a7ef;
$custom-light: #e5c1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a7ef",
  "rgb": {
    "r": 216,
    "g": 167,
    "b": 239
  },
  "hsl": {
    "h": 280.833,
    "s": 69.231,
    "l": 79.608
  },
  "oklch": {
    "l": 0.7976,
    "c": 0.11215,
    "h": 314.7
  },
  "luminance": 0.48468
}

Semantic roles & 50–950 ramp

primary
#D8A7EF
secondary
#E1F2D9
accent
#D11451
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #D8A7EF

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

Preview Lab → · Contrast checker → · Palette generator →

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