#D2ABFF#D2ABFF

#D2ABFF is a light, vivid violet. Relative luminance 0.500; OKLCH L 80.6% C 0.123 H 305.1°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#D2ABFF
RGBrgb(210, 171, 255)
HSLhsl(268, 100%, 84%)
HSVhsv(268, 33%, 100%)
CMYKcmyk(17.6%, 32.9%, 0%, 0%)
CIE-LABlab(76.10, 30.00, -36.35)
CIE-LCHlch(76.10, 47.13, 309.53°)
OKLaboklab(80.58% 0.0705 -0.1002)
OKLCHoklch(80.58% 0.123 305.1)
XYZxyz(59.1877, 50.0477, 101.1304)
Luminance0.5005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2ABFF #D8FFAB
analogous
#ABAEFF #D2ABFF #FCABFF
triadic
#D2ABFF #FFD2AB #ABFFD2
tetradic
#D2ABFF #FFABAE #D8FFAB #ABFFFC
square
#D2ABFF #FFABAE #D8FFAB #ABFFFC
split-complementary
#D2ABFF #FFFCAB #AEFFAB
monochromatic
#9031FF #B16EFF #D2ABFF #EFE0FF #EFE0FF

Accessibility & contrast

On white

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

On black

11.01
#D2ABFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2ABFF
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2ABFF#FFFFFF#000000##000000
##D2ABFF1.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9ABAFF
Deuteranopia (green-blind)
#A2BCFD
Tritanopia (blue-blind)
#CBB7CA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d2abff;
/* rgb */ color: rgb(210, 171, 255);
/* oklch */ color: oklch(80.6% 0.123 305.1);
Tailwind
colors: {
  custom: {
    50: '#e1c4ff',
    500: '#d2abff',
    950: '#000000',
  },
}
SCSS
$custom: #d2abff;
$custom-light: #e1c4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d2abff",
  "rgb": {
    "r": 210,
    "g": 171,
    "b": 255
  },
  "hsl": {
    "h": 267.857,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.80578,
    "c": 0.12252,
    "h": 305.1
  },
  "luminance": 0.50047
}

Semantic roles & 50–950 ramp

primary
#D2ABFF
secondary
#ABE56A
accent
#E6007B
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151218
muted
#848286

Preview Lab

Preview with #D2ABFF

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

Preview Lab → · Contrast checker → · Palette generator →

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