#D5A2EB#D5A2EB

#D5A2EB is a light, moderate purple. Relative luminance 0.460; OKLCH L 78.4% C 0.115 H 315.4°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#D5A2EB
RGBrgb(213, 162, 235)
HSLhsl(282, 65%, 78%)
HSVhsv(282, 31%, 92%)
CMYKcmyk(9.4%, 31.1%, 0%, 7.8%)
CIE-LABlab(73.54, 31.62, -29.45)
CIE-LCHlch(73.54, 43.21, 317.03°)
OKLaboklab(78.44% 0.0817 -0.0805)
OKLCHoklch(78.44% 0.115 315.4)
XYZxyz(55.3540, 45.9860, 84.5413)
Luminance0.4598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5A2EB #B8EBA2
analogous
#B0A2EB #D5A2EB #EBA2DC
triadic
#D5A2EB #EBD5A2 #A2EBD5
tetradic
#D5A2EB #EBB0A2 #B8EBA2 #A2DCEB
square
#D5A2EB #EBB0A2 #B8EBA2 #A2DCEB
split-complementary
#D5A2EB #DCEBA2 #A2EBB0
monochromatic
#A83DD5 #BE70E0 #D5A2EB #ECD4F6 #F4E6FA

Accessibility & contrast

On white

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

On black

10.20
#D5A2EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5A2EB
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5A2EB#FFFFFF#000000##000000
##D5A2EB1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B2EE
Deuteranopia (green-blind)
#A3B6E9
Tritanopia (blue-blind)
#D4ABBC
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d5a2eb;
/* rgb */ color: rgb(213, 162, 235);
/* oklch */ color: oklch(78.4% 0.115 315.4);
Tailwind
colors: {
  custom: {
    50: '#e2bef1',
    500: '#d5a2eb',
    950: '#000000',
  },
}
SCSS
$custom: #d5a2eb;
$custom-light: #e2bef1;
$custom-dark: #000000;
JSON
{
  "hex": "#d5a2eb",
  "rgb": {
    "r": 213,
    "g": 162,
    "b": 235
  },
  "hsl": {
    "h": 281.918,
    "s": 64.602,
    "l": 77.843
  },
  "oklch": {
    "l": 0.78437,
    "c": 0.11472,
    "h": 315.4
  },
  "luminance": 0.45985
}

Semantic roles & 50–950 ramp

primary
#D5A2EB
secondary
#E1F1DA
accent
#CC194F
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #D5A2EB

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

Preview Lab → · Contrast checker → · Palette generator →

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