#D1ABFA#D1ABFA

#D1ABFA is a light, moderate violet. Relative luminance 0.496; OKLCH L 80.3% C 0.116 H 306.0°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#D1ABFA
RGBrgb(209, 171, 250)
HSLhsl(269, 89%, 83%)
HSVhsv(269, 32%, 98%)
CMYKcmyk(16.4%, 31.6%, 0%, 2%)
CIE-LABlab(75.81, 28.62, -34.10)
CIE-LCHlch(75.81, 44.52, 310.01°)
OKLaboklab(80.27% 0.0681 -0.0938)
OKLCHoklch(80.27% 0.116 306)
XYZxyz(58.1094, 49.5836, 96.9332)
Luminance0.4958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1ABFA #D4FAAB
analogous
#ABACFA #D1ABFA #F9ABFA
triadic
#D1ABFA #FAD1AB #ABFAD1
tetradic
#D1ABFA #FAABAC #D4FAAB #ABFAF9
square
#D1ABFA #FAABAC #D4FAAB #ABFAF9
split-complementary
#D1ABFA #FAF9AB #ACFAAB
monochromatic
#9237F3 #B171F7 #D1ABFA #EFE2FD #EFE2FD

Accessibility & contrast

On white

1.92
#D1ABFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#D1ABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1ABFA
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1ABFA#FFFFFF#000000##000000
##D1ABFA1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB9FD
Deuteranopia (green-blind)
#A3BBF8
Tritanopia (blue-blind)
#CBB6C8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d1abfa;
/* rgb */ color: rgb(209, 171, 250);
/* oklch */ color: oklch(80.3% 0.116 306.0);
Tailwind
colors: {
  custom: {
    50: '#e0c4fc',
    500: '#d1abfa',
    950: '#000000',
  },
}
SCSS
$custom: #d1abfa;
$custom-light: #e0c4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d1abfa",
  "rgb": {
    "r": 209,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 268.861,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.80275,
    "c": 0.11595,
    "h": 306
  },
  "luminance": 0.49583
}

Semantic roles & 50–950 ramp

primary
#D1ABFA
secondary
#E6F5D6
accent
#E50077
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #D1ABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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