#D2ABFB#D2ABFB

#D2ABFB is a light, moderate violet. Relative luminance 0.498; OKLCH L 80.4% C 0.118 H 306.2°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#D2ABFB
RGBrgb(210, 171, 251)
HSLhsl(269, 91%, 83%)
HSVhsv(269, 32%, 98%)
CMYKcmyk(16.3%, 31.9%, 0%, 1.6%)
CIE-LABlab(75.94, 29.13, -34.43)
CIE-LCHlch(75.94, 45.10, 310.24°)
OKLaboklab(80.41% 0.0695 -0.0948)
OKLCHoklch(80.41% 0.118 306.2)
XYZxyz(58.5505, 49.7928, 97.7745)
Luminance0.4979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2ABFB #D4FBAB
analogous
#ABACFB #D2ABFB #FAABFB
triadic
#D2ABFB #FBD2AB #ABFBD2
tetradic
#D2ABFB #FBABAC #D4FBAB #ABFBFA
square
#D2ABFB #FBABAC #D4FBAB #ABFBFA
split-complementary
#D2ABFB #FBFAAB #ACFBAB
monochromatic
#9336F5 #B371F8 #D2ABFB #EFE2FE #EFE2FE

Accessibility & contrast

On white

1.92
#D2ABFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#D2ABFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2ABFB
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2ABFB#FFFFFF#000000##000000
##D2ABFB1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BBAFE
Deuteranopia (green-blind)
#A3BCF9
Tritanopia (blue-blind)
#CCB7C8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d2abfb;
/* rgb */ color: rgb(210, 171, 251);
/* oklch */ color: oklch(80.4% 0.118 306.2);
Tailwind
colors: {
  custom: {
    50: '#e0c4fd',
    500: '#d2abfb',
    950: '#000000',
  },
}
SCSS
$custom: #d2abfb;
$custom-light: #e0c4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d2abfb",
  "rgb": {
    "r": 210,
    "g": 171,
    "b": 251
  },
  "hsl": {
    "h": 269.25,
    "s": 90.909,
    "l": 82.745
  },
  "oklch": {
    "l": 0.80407,
    "c": 0.11751,
    "h": 306.2
  },
  "luminance": 0.49792
}

Semantic roles & 50–950 ramp

primary
#D2ABFB
secondary
#E6F6D5
accent
#E60076
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #D2ABFB

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

Preview Lab → · Contrast checker → · Palette generator →

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