#D8ABF9#D8ABF9

#D8ABF9 is a light, moderate violet. Relative luminance 0.506; OKLCH L 80.9% C 0.117 H 310.3°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#D8ABF9
RGBrgb(216, 171, 249)
HSLhsl(275, 87%, 82%)
HSVhsv(275, 31%, 98%)
CMYKcmyk(13.3%, 31.3%, 0%, 2.4%)
CIE-LABlab(76.41, 30.53, -32.58)
CIE-LCHlch(76.41, 44.65, 313.14°)
OKLaboklab(80.87% 0.0757 -0.0894)
OKLCHoklch(80.87% 0.117 310.3)
XYZxyz(59.9777, 50.5650, 96.2045)
Luminance0.5056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8ABF9 #CCF9AB
analogous
#B1ABF9 #D8ABF9 #F9ABF3
triadic
#D8ABF9 #F9D8AB #ABF9D8
tetradic
#D8ABF9 #F9B1AB #CCF9AB #ABF3F9
square
#D8ABF9 #F9B1AB #CCF9AB #ABF3F9
split-complementary
#D8ABF9 #F3F9AB #ABF9B1
monochromatic
#A339F1 #BD72F5 #D8ABF9 #F2E2FD #F2E2FD

Accessibility & contrast

On white

1.89
#D8ABF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#D8ABF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8ABF9
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8ABF9#FFFFFF#000000##000000
##D8ABF91.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DBAFC
Deuteranopia (green-blind)
#A7BDF7
Tritanopia (blue-blind)
#D4B6C7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d8abf9;
/* rgb */ color: rgb(216, 171, 249);
/* oklch */ color: oklch(80.9% 0.117 310.3);
Tailwind
colors: {
  custom: {
    50: '#e5c4fb',
    500: '#d8abf9',
    950: '#000000',
  },
}
SCSS
$custom: #d8abf9;
$custom-light: #e5c4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d8abf9",
  "rgb": {
    "r": 216,
    "g": 171,
    "b": 249
  },
  "hsl": {
    "h": 274.615,
    "s": 86.667,
    "l": 82.353
  },
  "oklch": {
    "l": 0.80872,
    "c": 0.11716,
    "h": 310.3
  },
  "luminance": 0.50564
}

Semantic roles & 50–950 ramp

primary
#D8ABF9
secondary
#9CDB6D
accent
#E30261
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#161217
muted
#848285

Preview Lab

Preview with #D8ABF9

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

Preview Lab → · Contrast checker → · Palette generator →

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