#D2A6FA#D2A6FA

#D2A6FA is a light, vivid violet. Relative luminance 0.479; OKLCH L 79.5% C 0.125 H 307.8°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#D2A6FA
RGBrgb(210, 166, 250)
HSLhsl(271, 89%, 82%)
HSVhsv(271, 34%, 98%)
CMYKcmyk(16%, 33.6%, 0%, 2%)
CIE-LABlab(74.75, 31.64, -35.74)
CIE-LCHlch(74.75, 47.74, 311.52°)
OKLaboklab(79.48% 0.0763 -0.0985)
OKLCHoklch(79.48% 0.125 307.8)
XYZxyz(57.4666, 47.8767, 96.6377)
Luminance0.4788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A6FA #CEFAA6
analogous
#A8A6FA #D2A6FA #FAA6F8
triadic
#D2A6FA #FAD2A6 #A6FAD2
tetradic
#D2A6FA #FAA8A6 #CEFAA6 #A6F8FA
square
#D2A6FA #FAA8A6 #CEFAA6 #A6F8FA
split-complementary
#D2A6FA #F8FAA6 #A6FAA8
monochromatic
#9732F3 #B56CF7 #D2A6FA #EFE0FD #F0E2FD

Accessibility & contrast

On white

1.99
#D2A6FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#D2A6FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2A6FA
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2A6FA#FFFFFF#000000##000000
##D2A6FA1.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B6FD
Deuteranopia (green-blind)
#9FB9F8
Tritanopia (blue-blind)
#CDB2C5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d2a6fa;
/* rgb */ color: rgb(210, 166, 250);
/* oklch */ color: oklch(79.5% 0.125 307.8);
Tailwind
colors: {
  custom: {
    50: '#e1c1fc',
    500: '#d2a6fa',
    950: '#000000',
  },
}
SCSS
$custom: #d2a6fa;
$custom-light: #e1c1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a6fa",
  "rgb": {
    "r": 210,
    "g": 166,
    "b": 250
  },
  "hsl": {
    "h": 271.429,
    "s": 89.362,
    "l": 81.569
  },
  "oklch": {
    "l": 0.79483,
    "c": 0.12459,
    "h": 307.8
  },
  "luminance": 0.47876
}

Semantic roles & 50–950 ramp

primary
#D2A6FA
secondary
#E5F5D6
accent
#E6006D
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #D2A6FA

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

Preview Lab → · Contrast checker → · Palette generator →

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