#D7ABE2#D7ABE2

#D7ABE2 is a light, moderate purple. Relative luminance 0.491; OKLCH L 79.9% C 0.090 H 319.5°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#D7ABE2
RGBrgb(215, 171, 226)
HSLhsl(288, 49%, 78%)
HSVhsv(288, 24%, 89%)
CMYKcmyk(4.9%, 24.3%, 0%, 11.4%)
CIE-LABlab(75.49, 25.58, -21.55)
CIE-LCHlch(75.49, 33.45, 319.90°)
OKLaboklab(79.87% 0.0682 -0.0583)
OKLCHoklch(79.87% 0.09 319.5)
XYZxyz(56.3128, 49.0650, 78.4408)
Luminance0.4906 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7ABE2 #B6E2AB
analogous
#BBABE2 #D7ABE2 #E2ABD1
triadic
#D7ABE2 #E2D7AB #ABE2D7
tetradic
#D7ABE2 #E2BBAB #B6E2AB #ABD1E2
square
#D7ABE2 #E2BBAB #B6E2AB #ABD1E2
split-complementary
#D7ABE2 #D1E2AB #ABE2BB
monochromatic
#AC50C3 #C17ED2 #D7ABE2 #EDD8F2 #F4E8F7

Accessibility & contrast

On white

1.94
#D7ABE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#D7ABE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7ABE2
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7ABE2#FFFFFF#000000##000000
##D7ABE21.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5B7E4
Deuteranopia (green-blind)
#AFBCE0
Tritanopia (blue-blind)
#D8B1BE
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d7abe2;
/* rgb */ color: rgb(215, 171, 226);
/* oklch */ color: oklch(79.9% 0.090 319.5);
Tailwind
colors: {
  custom: {
    50: '#e3c4eb',
    500: '#d7abe2',
    950: '#000000',
  },
}
SCSS
$custom: #d7abe2;
$custom-light: #e3c4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d7abe2",
  "rgb": {
    "r": 215,
    "g": 171,
    "b": 226
  },
  "hsl": {
    "h": 288,
    "s": 48.673,
    "l": 77.843
  },
  "oklch": {
    "l": 0.7987,
    "c": 0.08977,
    "h": 319.5
  },
  "luminance": 0.49064
}

Semantic roles & 50–950 ramp

primary
#D7ABE2
secondary
#E0EEDD
accent
#BC2A47
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #D7ABE2

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

Preview Lab → · Contrast checker → · Palette generator →

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