#D2ABFC#D2ABFC

#D2ABFC is a light, moderate violet. Relative luminance 0.499; OKLCH L 80.5% C 0.119 H 305.9°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#D2ABFC
RGBrgb(210, 171, 252)
HSLhsl(269, 93%, 83%)
HSVhsv(269, 32%, 99%)
CMYKcmyk(16.7%, 32.1%, 0%, 1.2%)
CIE-LABlab(75.98, 29.35, -34.91)
CIE-LCHlch(75.98, 45.61, 310.05°)
OKLaboklab(80.45% 0.0697 -0.0961)
OKLCHoklch(80.45% 0.119 305.9)
XYZxyz(58.7085, 49.8561, 98.6069)
Luminance0.4986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2ABFC #D5FCAB
analogous
#ABACFC #D2ABFC #FAABFC
triadic
#D2ABFC #FCD2AB #ABFCD2
tetradic
#D2ABFC #FCABAC #D5FCAB #ABFCFA
square
#D2ABFC #FCABAC #D5FCAB #ABFCFA
split-complementary
#D2ABFC #FCFAAB #ACFCAB
monochromatic
#9335F8 #B270FA #D2ABFC #EFE1FE #EFE1FE

Accessibility & contrast

On white

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

On black

10.97
#D2ABFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2ABFC
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2ABFC#FFFFFF#000000##000000
##D2ABFC1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BBAFF
Deuteranopia (green-blind)
#A3BCFA
Tritanopia (blue-blind)
#CCB7C8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d2abfc;
/* rgb */ color: rgb(210, 171, 252);
/* oklch */ color: oklch(80.5% 0.119 305.9);
Tailwind
colors: {
  custom: {
    50: '#e0c4fd',
    500: '#d2abfc',
    950: '#000000',
  },
}
SCSS
$custom: #d2abfc;
$custom-light: #e0c4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d2abfc",
  "rgb": {
    "r": 210,
    "g": 171,
    "b": 252
  },
  "hsl": {
    "h": 268.889,
    "s": 93.103,
    "l": 82.941
  },
  "oklch": {
    "l": 0.8045,
    "c": 0.11877,
    "h": 305.9
  },
  "luminance": 0.49856
}

Semantic roles & 50–950 ramp

primary
#D2ABFC
secondary
#E6F6D5
accent
#E60077
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #D2ABFC

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

Preview Lab → · Contrast checker → · Palette generator →

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