#D2ABFE#D2ABFE

#D2ABFE is a light, vivid violet. Relative luminance 0.500; OKLCH L 80.5% C 0.121 H 305.4°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#D2ABFE
RGBrgb(210, 171, 254)
HSLhsl(268, 98%, 83%)
HSVhsv(268, 33%, 100%)
CMYKcmyk(17.3%, 32.7%, 0%, 0.4%)
CIE-LABlab(76.06, 29.78, -35.87)
CIE-LCHlch(76.06, 46.62, 309.70°)
OKLaboklab(80.54% 0.0702 -0.0989)
OKLCHoklch(80.54% 0.121 305.4)
XYZxyz(59.0271, 49.9835, 100.2848)
Luminance0.4998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2ABFE #D7FEAB
analogous
#ABADFE #D2ABFE #FCABFE
triadic
#D2ABFE #FED2AB #ABFED2
tetradic
#D2ABFE #FEABAD #D7FEAB #ABFEFC
square
#D2ABFE #FEABAD #D7FEAB #ABFEFC
split-complementary
#D2ABFE #FEFCAB #ADFEAB
monochromatic
#9132FD #B26FFD #D2ABFE #EFE1FF #EFE1FF

Accessibility & contrast

On white

1.91
#D2ABFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#D2ABFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2ABFE
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2ABFE#FFFFFF#000000##000000
##D2ABFE1.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9ABAFF
Deuteranopia (green-blind)
#A2BCFC
Tritanopia (blue-blind)
#CCB7C9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d2abfe;
/* rgb */ color: rgb(210, 171, 254);
/* oklch */ color: oklch(80.5% 0.121 305.4);
Tailwind
colors: {
  custom: {
    50: '#e1c4ff',
    500: '#d2abfe',
    950: '#000000',
  },
}
SCSS
$custom: #d2abfe;
$custom-light: #e1c4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d2abfe",
  "rgb": {
    "r": 210,
    "g": 171,
    "b": 254
  },
  "hsl": {
    "h": 268.193,
    "s": 97.647,
    "l": 83.333
  },
  "oklch": {
    "l": 0.80535,
    "c": 0.12127,
    "h": 305.4
  },
  "luminance": 0.49983
}

Semantic roles & 50–950 ramp

primary
#D2ABFE
secondary
#E7F7D4
accent
#E6007A
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #D2ABFE

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

Preview Lab → · Contrast checker → · Palette generator →

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