#D2ABEF#D2ABEF

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

Color values

HEX#D2ABEF
RGBrgb(210, 171, 239)
HSLhsl(274, 68%, 80%)
HSVhsv(274, 28%, 94%)
CMYKcmyk(12.1%, 28.5%, 0%, 6.3%)
CIE-LABlab(75.49, 26.60, -28.65)
CIE-LCHlch(75.49, 39.09, 312.88°)
OKLaboklab(79.91% 0.0663 -0.0784)
OKLCHoklch(79.91% 0.103 310.3)
XYZxyz(56.7185, 49.0600, 88.1262)
Luminance0.4906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2ABEF #C8EFAB
analogous
#B0ABEF #D2ABEF #EFABEA
triadic
#D2ABEF #EFD2AB #ABEFD2
tetradic
#D2ABEF #EFB0AB #C8EFAB #ABEAEF
square
#D2ABEF #EFB0AB #C8EFAB #ABEAEF
split-complementary
#D2ABEF #EAEFAB #ABEFB0
monochromatic
#9B44DB #B678E5 #D2ABEF #EEDEF9 #F1E5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2ABEF#FFFFFF#000000##000000
##D2ABEF1.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)
#A0B8F2
Deuteranopia (green-blind)
#A8BBED
Tritanopia (blue-blind)
#CFB4C3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d2abef;
/* rgb */ color: rgb(210, 171, 239);
/* oklch */ color: oklch(79.9% 0.103 310.3);
Tailwind
colors: {
  custom: {
    50: '#e0c4f4',
    500: '#d2abef',
    950: '#000000',
  },
}
SCSS
$custom: #d2abef;
$custom-light: #e0c4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2abef",
  "rgb": {
    "r": 210,
    "g": 171,
    "b": 239
  },
  "hsl": {
    "h": 274.412,
    "s": 68,
    "l": 80.392
  },
  "oklch": {
    "l": 0.79911,
    "c": 0.10267,
    "h": 310.3
  },
  "luminance": 0.49059
}

Semantic roles & 50–950 ramp

primary
#D2ABEF
secondary
#E4F2D9
accent
#D01665
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151217
muted
#838185

Preview Lab

Preview with #D2ABEF

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

Preview Lab → · Contrast checker → · Palette generator →

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