#D8A2E2#D8A2E2

#D8A2E2 is a light, moderate purple. Relative luminance 0.459; OKLCH L 78.4% C 0.106 H 321.1°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#D8A2E2
RGBrgb(216, 162, 226)
HSLhsl(291, 52%, 76%)
HSVhsv(291, 28%, 89%)
CMYKcmyk(4.4%, 28.3%, 0%, 11.4%)
CIE-LABlab(73.50, 30.79, -24.57)
CIE-LCHlch(73.50, 39.39, 321.41°)
OKLaboklab(78.37% 0.0827 -0.0667)
OKLCHoklch(78.37% 0.106 321.1)
XYZxyz(54.9650, 45.9320, 77.9071)
Luminance0.4593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A2E2 #ACE2A2
analogous
#B8A2E2 #D8A2E2 #E2A2CC
triadic
#D8A2E2 #E2D8A2 #A2E2D8
tetradic
#D8A2E2 #E2B8A2 #ACE2A2 #A2CCE2
square
#D8A2E2 #E2B8A2 #ACE2A2 #A2CCE2
split-complementary
#D8A2E2 #CCE2A2 #A2E2B8
monochromatic
#B145C5 #C473D3 #D8A2E2 #ECD1F1 #F5E8F8

Accessibility & contrast

On white

2.06
#D8A2E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#D8A2E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A2E2
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A2E2#FFFFFF#000000##000000
##D8A2E21.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB1E5
Deuteranopia (green-blind)
#A8B7E0
Tritanopia (blue-blind)
#DAA9B9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d8a2e2;
/* rgb */ color: rgb(216, 162, 226);
/* oklch */ color: oklch(78.4% 0.106 321.1);
Tailwind
colors: {
  custom: {
    50: '#e4beeb',
    500: '#d8a2e2',
    950: '#000000',
  },
}
SCSS
$custom: #d8a2e2;
$custom-light: #e4beeb;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a2e2",
  "rgb": {
    "r": 216,
    "g": 162,
    "b": 226
  },
  "hsl": {
    "h": 290.625,
    "s": 52.459,
    "l": 76.078
  },
  "oklch": {
    "l": 0.78369,
    "c": 0.10625,
    "h": 321.1
  },
  "luminance": 0.45931
}

Semantic roles & 50–950 ramp

primary
#D8A2E2
secondary
#DFEFDC
accent
#C0263E
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #D8A2E2

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

Preview Lab → · Contrast checker → · Palette generator →

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