#D4ABFF#D4ABFF

#D4ABFF is a light, vivid violet. Relative luminance 0.503; OKLCH L 80.8% C 0.123 H 306.2°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#D4ABFF
RGBrgb(212, 171, 255)
HSLhsl(269, 100%, 84%)
HSVhsv(269, 33%, 100%)
CMYKcmyk(16.9%, 32.9%, 0%, 0%)
CIE-LABlab(76.28, 30.59, -36.05)
CIE-LCHlch(76.28, 47.28, 310.32°)
OKLaboklab(80.76% 0.0727 -0.0994)
OKLCHoklch(80.76% 0.123 306.2)
XYZxyz(59.7608, 50.3432, 101.1573)
Luminance0.5034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4ABFF #D6FFAB
analogous
#ABACFF #D4ABFF #FEABFF
triadic
#D4ABFF #FFD4AB #ABFFD4
tetradic
#D4ABFF #FFABAC #D6FFAB #ABFFFE
square
#D4ABFF #FFABAC #D6FFAB #ABFFFE
split-complementary
#D4ABFF #FFFEAB #ACFFAB
monochromatic
#9531FF #B56EFF #D4ABFF #EFE0FF #EFE0FF

Accessibility & contrast

On white

1.90
#D4ABFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#D4ABFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4ABFF
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4ABFF#FFFFFF#000000##000000
##D4ABFF1.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9ABBFF
Deuteranopia (green-blind)
#A3BCFD
Tritanopia (blue-blind)
#CEB7CA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d4abff;
/* rgb */ color: rgb(212, 171, 255);
/* oklch */ color: oklch(80.8% 0.123 306.2);
Tailwind
colors: {
  custom: {
    50: '#e2c4ff',
    500: '#d4abff',
    950: '#000000',
  },
}
SCSS
$custom: #d4abff;
$custom-light: #e2c4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d4abff",
  "rgb": {
    "r": 212,
    "g": 171,
    "b": 255
  },
  "hsl": {
    "h": 269.286,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.80759,
    "c": 0.12312,
    "h": 306.2
  },
  "luminance": 0.50343
}

Semantic roles & 50–950 ramp

primary
#D4ABFF
secondary
#A9E56A
accent
#E60075
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151218
muted
#848286

Preview Lab

Preview with #D4ABFF

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

Preview Lab → · Contrast checker → · Palette generator →

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