#D8ABFD#D8ABFD

#D8ABFD is a light, vivid violet. Relative luminance 0.508; OKLCH L 81.0% C 0.122 H 309.0°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#D8ABFD
RGBrgb(216, 171, 253)
HSLhsl(273, 95%, 83%)
HSVhsv(273, 32%, 99%)
CMYKcmyk(14.6%, 32.4%, 0%, 0.8%)
CIE-LABlab(76.57, 31.36, -34.50)
CIE-LCHlch(76.57, 46.62, 312.27°)
OKLaboklab(81.04% 0.0767 -0.0949)
OKLCHoklch(81.04% 0.122 309)
XYZxyz(60.6082, 50.8172, 99.5253)
Luminance0.5082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8ABFD #D0FDAB
analogous
#AFABFD #D8ABFD #FDABF9
triadic
#D8ABFD #FDD8AB #ABFDD8
tetradic
#D8ABFD #FDAFAB #D0FDAB #ABF9FD
square
#D8ABFD #FDAFAB #D0FDAB #ABF9FD
split-complementary
#D8ABFD #F9FDAB #ABFDAF
monochromatic
#A033FA #BC6FFC #D8ABFD #F1E1FE #F1E1FE

Accessibility & contrast

On white

1.88
#D8ABFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#D8ABFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8ABFD
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8ABFD#FFFFFF#000000##000000
##D8ABFD1.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CBBFF
Deuteranopia (green-blind)
#A6BEFB
Tritanopia (blue-blind)
#D4B6C9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d8abfd;
/* rgb */ color: rgb(216, 171, 253);
/* oklch */ color: oklch(81.0% 0.122 309.0);
Tailwind
colors: {
  custom: {
    50: '#e5c4fe',
    500: '#d8abfd',
    950: '#000000',
  },
}
SCSS
$custom: #d8abfd;
$custom-light: #e5c4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d8abfd",
  "rgb": {
    "r": 216,
    "g": 171,
    "b": 253
  },
  "hsl": {
    "h": 272.927,
    "s": 95.349,
    "l": 83.137
  },
  "oklch": {
    "l": 0.81039,
    "c": 0.122,
    "h": 309
  },
  "luminance": 0.50817
}

Semantic roles & 50–950 ramp

primary
#D8ABFD
secondary
#A0E16B
accent
#E60068
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#161218
muted
#848286

Preview Lab

Preview with #D8ABFD

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

Preview Lab → · Contrast checker → · Palette generator →

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