#D2ABE2#D2ABE2

#D2ABE2 is a light, moderate purple. Relative luminance 0.483; OKLCH L 79.4% C 0.087 H 316.0°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#D2ABE2
RGBrgb(210, 171, 226)
HSLhsl(283, 49%, 78%)
HSVhsv(283, 24%, 89%)
CMYKcmyk(7.1%, 24.3%, 0%, 11.4%)
CIE-LABlab(75.03, 23.97, -22.30)
CIE-LCHlch(75.03, 32.73, 317.07°)
OKLaboklab(79.4% 0.0626 -0.0605)
OKLCHoklch(79.4% 0.087 316)
XYZxyz(54.8666, 48.3193, 78.3730)
Luminance0.4832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2ABE2 #BBE2AB
analogous
#B6ABE2 #D2ABE2 #E2ABD7
triadic
#D2ABE2 #E2D2AB #ABE2D2
tetradic
#D2ABE2 #E2B6AB #BBE2AB #ABD7E2
square
#D2ABE2 #E2B6AB #BBE2AB #ABD7E2
split-complementary
#D2ABE2 #D7E2AB #ABE2B6
monochromatic
#A150C3 #BA7ED2 #D2ABE2 #EAD8F2 #F3E8F7

Accessibility & contrast

On white

1.97
#D2ABE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#D2ABE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2ABE2
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2ABE2#FFFFFF#000000##000000
##D2ABE21.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4B6E4
Deuteranopia (green-blind)
#ACBAE0
Tritanopia (blue-blind)
#D2B1BE
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2abe2;
/* rgb */ color: rgb(210, 171, 226);
/* oklch */ color: oklch(79.4% 0.087 316.0);
Tailwind
colors: {
  custom: {
    50: '#e0c4eb',
    500: '#d2abe2',
    950: '#000000',
  },
}
SCSS
$custom: #d2abe2;
$custom-light: #e0c4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d2abe2",
  "rgb": {
    "r": 210,
    "g": 171,
    "b": 226
  },
  "hsl": {
    "h": 282.545,
    "s": 48.673,
    "l": 77.843
  },
  "oklch": {
    "l": 0.79403,
    "c": 0.08708,
    "h": 316
  },
  "luminance": 0.48318
}

Semantic roles & 50–950 ramp

primary
#D2ABE2
secondary
#E2EEDD
accent
#BC2A54
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #D2ABE2

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

Preview Lab → · Contrast checker → · Palette generator →

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