#D4A8EA#D4A8EA

#D4A8EA is a light, moderate purple. Relative luminance 0.479; OKLCH L 79.4% C 0.103 H 314.2°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#D4A8EA
RGBrgb(212, 168, 234)
HSLhsl(280, 61%, 79%)
HSVhsv(280, 28%, 92%)
CMYKcmyk(9.4%, 28.2%, 0%, 8.2%)
CIE-LABlab(74.79, 27.84, -26.99)
CIE-LCHlch(74.79, 38.78, 315.89°)
OKLaboklab(79.36% 0.0716 -0.0736)
OKLCHoklch(79.36% 0.103 314.2)
XYZxyz(56.0029, 47.9437, 84.1298)
Luminance0.4794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4A8EA #BEEAA8
analogous
#B3A8EA #D4A8EA #EAA8DF
triadic
#D4A8EA #EAD4A8 #A8EAD4
tetradic
#D4A8EA #EAB3A8 #BEEAA8 #A8DFEA
square
#D4A8EA #EAB3A8 #BEEAA8 #A8DFEA
split-complementary
#D4A8EA #DFEAA8 #A8EAB3
monochromatic
#A345D2 #BC77DE #D4A8EA #ECD9F6 #F3E6F9

Accessibility & contrast

On white

1.98
#D4A8EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#D4A8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4A8EA
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4A8EA#FFFFFF#000000##000000
##D4A8EA1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB5ED
Deuteranopia (green-blind)
#A8B9E8
Tritanopia (blue-blind)
#D3B0BF
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d4a8ea;
/* rgb */ color: rgb(212, 168, 234);
/* oklch */ color: oklch(79.4% 0.103 314.2);
Tailwind
colors: {
  custom: {
    50: '#e2c2f1',
    500: '#d4a8ea',
    950: '#000000',
  },
}
SCSS
$custom: #d4a8ea;
$custom-light: #e2c2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d4a8ea",
  "rgb": {
    "r": 212,
    "g": 168,
    "b": 234
  },
  "hsl": {
    "h": 280,
    "s": 61.111,
    "l": 78.824
  },
  "oklch": {
    "l": 0.79359,
    "c": 0.10268,
    "h": 314.2
  },
  "luminance": 0.47943
}

Semantic roles & 50–950 ramp

primary
#D4A8EA
secondary
#E2F0DB
accent
#C91D56
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #D4A8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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