#D8ABFA#D8ABFA

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

Color values

HEX#D8ABFA
RGBrgb(216, 171, 250)
HSLhsl(274, 89%, 83%)
HSVhsv(274, 32%, 98%)
CMYKcmyk(13.6%, 31.6%, 0%, 2%)
CIE-LABlab(76.45, 30.73, -33.06)
CIE-LCHlch(76.45, 45.14, 312.91°)
OKLaboklab(80.91% 0.076 -0.0908)
OKLCHoklch(80.91% 0.118 309.9)
XYZxyz(60.1341, 50.6275, 97.0281)
Luminance0.5063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8ABFA #CDFAAB
analogous
#B0ABFA #D8ABFA #FAABF5
triadic
#D8ABFA #FAD8AB #ABFAD8
tetradic
#D8ABFA #FAB0AB #CDFAAB #ABF5FA
square
#D8ABFA #FAB0AB #CDFAAB #ABF5FA
split-complementary
#D8ABFA #F5FAAB #ABFAB0
monochromatic
#A237F3 #BD71F7 #D8ABFA #F2E2FD #F2E2FD

Accessibility & contrast

On white

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

On black

11.13
#D8ABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8ABFA
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8ABFA#FFFFFF#000000##000000
##D8ABFA1.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DBAFD
Deuteranopia (green-blind)
#A7BDF8
Tritanopia (blue-blind)
#D4B6C8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d8abfa;
/* rgb */ color: rgb(216, 171, 250);
/* oklch */ color: oklch(80.9% 0.118 309.9);
Tailwind
colors: {
  custom: {
    50: '#e5c4fc',
    500: '#d8abfa',
    950: '#000000',
  },
}
SCSS
$custom: #d8abfa;
$custom-light: #e5c4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d8abfa",
  "rgb": {
    "r": 216,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 274.177,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.80913,
    "c": 0.11837,
    "h": 309.9
  },
  "luminance": 0.50627
}

Semantic roles & 50–950 ramp

primary
#D8ABFA
secondary
#9DDD6C
accent
#E50063
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#161217
muted
#848285

Preview Lab

Preview with #D8ABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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