#D2A2EA#D2A2EA

#D2A2EA is a light, moderate purple. Relative luminance 0.455; OKLCH L 78.1% C 0.112 H 314.1°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#D2A2EA
RGBrgb(210, 162, 234)
HSLhsl(280, 63%, 78%)
HSVhsv(280, 31%, 92%)
CMYKcmyk(10.3%, 30.8%, 0%, 8.2%)
CIE-LABlab(73.21, 30.48, -29.43)
CIE-LCHlch(73.21, 42.37, 316.00°)
OKLaboklab(78.11% 0.0781 -0.0805)
OKLCHoklch(78.11% 0.112 314.1)
XYZxyz(54.3476, 45.4837, 83.7422)
Luminance0.4548 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A2EA #BAEAA2
analogous
#AEA2EA #D2A2EA #EAA2DE
triadic
#D2A2EA #EAD2A2 #A2EAD2
tetradic
#D2A2EA #EAAEA2 #BAEAA2 #A2DEEA
square
#D2A2EA #EAAEA2 #BAEAA2 #A2DEEA
split-complementary
#D2A2EA #DEEAA2 #A2EAAE
monochromatic
#A23ED3 #BA70DF #D2A2EA #EAD4F5 #F3E6F9

Accessibility & contrast

On white

2.08
#D2A2EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#D2A2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2A2EA
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2A2EA#FFFFFF#000000##000000
##D2A2EA1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B1ED
Deuteranopia (green-blind)
#A2B5E8
Tritanopia (blue-blind)
#D1ABBC
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2a2ea;
/* rgb */ color: rgb(210, 162, 234);
/* oklch */ color: oklch(78.1% 0.112 314.1);
Tailwind
colors: {
  custom: {
    50: '#e0bef1',
    500: '#d2a2ea',
    950: '#000000',
  },
}
SCSS
$custom: #d2a2ea;
$custom-light: #e0bef1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a2ea",
  "rgb": {
    "r": 210,
    "g": 162,
    "b": 234
  },
  "hsl": {
    "h": 280,
    "s": 63.158,
    "l": 77.647
  },
  "oklch": {
    "l": 0.78108,
    "c": 0.11215,
    "h": 314.1
  },
  "luminance": 0.45483
}

Semantic roles & 50–950 ramp

primary
#D2A2EA
secondary
#E2F1DA
accent
#CB1B55
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #D2A2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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