#D5ABFA#D5ABFA

#D5ABFA is a light, moderate violet. Relative luminance 0.502; OKLCH L 80.6% C 0.117 H 308.2°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#D5ABFA
RGBrgb(213, 171, 250)
HSLhsl(272, 89%, 83%)
HSVhsv(272, 32%, 98%)
CMYKcmyk(14.8%, 31.6%, 0%, 2%)
CIE-LABlab(76.18, 29.83, -33.51)
CIE-LCHlch(76.18, 44.86, 311.67°)
OKLaboklab(80.64% 0.0726 -0.0921)
OKLCHoklch(80.64% 0.117 308.2)
XYZxyz(59.2556, 50.1746, 96.9870)
Luminance0.5017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5ABFA #D0FAAB
analogous
#AEABFA #D5ABFA #FAABF7
triadic
#D5ABFA #FAD5AB #ABFAD5
tetradic
#D5ABFA #FAAEAB #D0FAAB #ABF7FA
square
#D5ABFA #FAAEAB #D0FAAB #ABF7FA
split-complementary
#D5ABFA #F7FAAB #ABFAAE
monochromatic
#9B37F3 #B871F7 #D5ABFA #F1E2FD #F1E2FD

Accessibility & contrast

On white

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

On black

11.03
#D5ABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5ABFA
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5ABFA#FFFFFF#000000##000000
##D5ABFA1.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CBAFD
Deuteranopia (green-blind)
#A5BCF8
Tritanopia (blue-blind)
#D0B6C8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d5abfa;
/* rgb */ color: rgb(213, 171, 250);
/* oklch */ color: oklch(80.6% 0.117 308.2);
Tailwind
colors: {
  custom: {
    50: '#e3c4fc',
    500: '#d5abfa',
    950: '#000000',
  },
}
SCSS
$custom: #d5abfa;
$custom-light: #e3c4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d5abfa",
  "rgb": {
    "r": 213,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 271.899,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.80638,
    "c": 0.11727,
    "h": 308.2
  },
  "luminance": 0.50174
}

Semantic roles & 50–950 ramp

primary
#D5ABFA
secondary
#A1DD6C
accent
#E5006B
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151217
muted
#848285

Preview Lab

Preview with #D5ABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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