#D4A2EA#D4A2EA

#D4A2EA is a light, moderate purple. Relative luminance 0.458; OKLCH L 78.3% C 0.113 H 315.3°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#D4A2EA
RGBrgb(212, 162, 234)
HSLhsl(282, 63%, 78%)
HSVhsv(282, 31%, 92%)
CMYKcmyk(9.4%, 30.8%, 0%, 8.2%)
CIE-LABlab(73.40, 31.10, -29.12)
CIE-LCHlch(73.40, 42.61, 316.89°)
OKLaboklab(78.3% 0.0803 -0.0796)
OKLCHoklch(78.3% 0.113 315.3)
XYZxyz(54.9207, 45.7792, 83.7691)
Luminance0.4578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4A2EA #B8EAA2
analogous
#B0A2EA #D4A2EA #EAA2DC
triadic
#D4A2EA #EAD4A2 #A2EAD4
tetradic
#D4A2EA #EAB0A2 #B8EAA2 #A2DCEA
square
#D4A2EA #EAB0A2 #B8EAA2 #A2DCEA
split-complementary
#D4A2EA #DCEAA2 #A2EAB0
monochromatic
#A63ED3 #BD70DF #D4A2EA #EBD4F5 #F3E6F9

Accessibility & contrast

On white

2.07
#D4A2EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#D4A2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4A2EA
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4A2EA#FFFFFF#000000##000000
##D4A2EA1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B1ED
Deuteranopia (green-blind)
#A3B6E8
Tritanopia (blue-blind)
#D3ABBC
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d4a2ea;
/* rgb */ color: rgb(212, 162, 234);
/* oklch */ color: oklch(78.3% 0.113 315.3);
Tailwind
colors: {
  custom: {
    50: '#e2bef1',
    500: '#d4a2ea',
    950: '#000000',
  },
}
SCSS
$custom: #d4a2ea;
$custom-light: #e2bef1;
$custom-dark: #000000;
JSON
{
  "hex": "#d4a2ea",
  "rgb": {
    "r": 212,
    "g": 162,
    "b": 234
  },
  "hsl": {
    "h": 281.667,
    "s": 63.158,
    "l": 77.647
  },
  "oklch": {
    "l": 0.78299,
    "c": 0.1131,
    "h": 315.3
  },
  "luminance": 0.45778
}

Semantic roles & 50–950 ramp

primary
#D4A2EA
secondary
#E1F1DA
accent
#CB1B50
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #D4A2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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