#D4ABFE#D4ABFE

#D4ABFE is a light, vivid violet. Relative luminance 0.503; OKLCH L 80.7% C 0.122 H 306.5°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#D4ABFE
RGBrgb(212, 171, 254)
HSLhsl(270, 98%, 83%)
HSVhsv(270, 33%, 100%)
CMYKcmyk(16.5%, 32.7%, 0%, 0.4%)
CIE-LABlab(76.24, 30.38, -35.57)
CIE-LCHlch(76.24, 46.78, 310.49°)
OKLaboklab(80.72% 0.0725 -0.098)
OKLCHoklch(80.72% 0.122 306.5)
XYZxyz(59.6002, 50.2790, 100.3117)
Luminance0.5028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4ABFE #D5FEAB
analogous
#ABABFE #D4ABFE #FEABFE
triadic
#D4ABFE #FED4AB #ABFED4
tetradic
#D4ABFE #FEABAB #D5FEAB #ABFEFE
square
#D4ABFE #FEABAB #D5FEAB #ABFEFE
split-complementary
#D4ABFE #FEFEAB #ABFEAB
monochromatic
#9632FD #B56FFD #D4ABFE #F0E1FF #F0E1FF

Accessibility & contrast

On white

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

On black

11.06
#D4ABFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4ABFE
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4ABFE#FFFFFF#000000##000000
##D4ABFE1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BBAFF
Deuteranopia (green-blind)
#A3BCFC
Tritanopia (blue-blind)
#CEB7C9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d4abfe;
/* rgb */ color: rgb(212, 171, 254);
/* oklch */ color: oklch(80.7% 0.122 306.5);
Tailwind
colors: {
  custom: {
    50: '#e2c4ff',
    500: '#d4abfe',
    950: '#000000',
  },
}
SCSS
$custom: #d4abfe;
$custom-light: #e2c4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d4abfe",
  "rgb": {
    "r": 212,
    "g": 171,
    "b": 254
  },
  "hsl": {
    "h": 269.639,
    "s": 97.647,
    "l": 83.333
  },
  "oklch": {
    "l": 0.80716,
    "c": 0.12187,
    "h": 306.5
  },
  "luminance": 0.50279
}

Semantic roles & 50–950 ramp

primary
#D4ABFE
secondary
#A7E36A
accent
#E60074
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151218
muted
#848286

Preview Lab

Preview with #D4ABFE

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

Preview Lab → · Contrast checker → · Palette generator →

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