#D2ABFA#D2ABFA

#D2ABFA is a light, moderate violet. Relative luminance 0.497; OKLCH L 80.4% C 0.116 H 306.5°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#D2ABFA
RGBrgb(210, 171, 250)
HSLhsl(270, 89%, 83%)
HSVhsv(270, 32%, 98%)
CMYKcmyk(16%, 31.6%, 0%, 2%)
CIE-LABlab(75.90, 28.92, -33.95)
CIE-LCHlch(75.90, 44.60, 310.42°)
OKLaboklab(80.36% 0.0692 -0.0934)
OKLCHoklch(80.36% 0.116 306.5)
XYZxyz(58.3933, 49.7299, 96.9465)
Luminance0.4973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2ABFA #D3FAAB
analogous
#ABACFA #D2ABFA #F9ABFA
triadic
#D2ABFA #FAD2AB #ABFAD2
tetradic
#D2ABFA #FAABAC #D3FAAB #ABFAF9
square
#D2ABFA #FAABAC #D3FAAB #ABFAF9
split-complementary
#D2ABFA #FAF9AB #ACFAAB
monochromatic
#9437F3 #B371F7 #D2ABFA #F0E2FD #F0E2FD

Accessibility & contrast

On white

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

On black

10.95
#D2ABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2ABFA
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2ABFA#FFFFFF#000000##000000
##D2ABFA1.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CBAFD
Deuteranopia (green-blind)
#A4BBF8
Tritanopia (blue-blind)
#CCB6C8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d2abfa;
/* rgb */ color: rgb(210, 171, 250);
/* oklch */ color: oklch(80.4% 0.116 306.5);
Tailwind
colors: {
  custom: {
    50: '#e0c4fc',
    500: '#d2abfa',
    950: '#000000',
  },
}
SCSS
$custom: #d2abfa;
$custom-light: #e0c4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d2abfa",
  "rgb": {
    "r": 210,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 269.62,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.80365,
    "c": 0.11627,
    "h": 306.5
  },
  "luminance": 0.4973
}

Semantic roles & 50–950 ramp

primary
#D2ABFA
secondary
#E6F5D6
accent
#E50074
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #D2ABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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