#D2A1FA#D2A1FA

#D2A1FA is a light, vivid violet. Relative luminance 0.461; OKLCH L 78.6% C 0.133 H 308.8°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#D2A1FA
RGBrgb(210, 161, 250)
HSLhsl(273, 90%, 81%)
HSVhsv(273, 36%, 98%)
CMYKcmyk(16%, 35.6%, 0%, 2%)
CIE-LABlab(73.61, 34.36, -37.51)
CIE-LCHlch(73.61, 50.87, 312.49°)
OKLaboklab(78.62% 0.0834 -0.1035)
OKLCHoklch(78.62% 0.133 308.8)
XYZxyz(56.5753, 46.0941, 96.3406)
Luminance0.4609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A1FA #C9FAA1
analogous
#A5A1FA #D2A1FA #FAA1F5
triadic
#D2A1FA #FAD2A1 #A1FAD2
tetradic
#D2A1FA #FAA5A1 #C9FAA1 #A1F5FA
square
#D2A1FA #FAA5A1 #C9FAA1 #A1F5FA
split-complementary
#D2A1FA #F5FAA1 #A1FAA5
monochromatic
#9A2DF4 #B667F7 #D2A1FA #EEDBFD #F1E2FD

Accessibility & contrast

On white

2.06
#D2A1FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#D2A1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2A1FA
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2A1FA#FFFFFF#000000##000000
##D2A1FA1.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B3FD
Deuteranopia (green-blind)
#9BB6F7
Tritanopia (blue-blind)
#CDAEC2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d2a1fa;
/* rgb */ color: rgb(210, 161, 250);
/* oklch */ color: oklch(78.6% 0.133 308.8);
Tailwind
colors: {
  custom: {
    50: '#e1bdfc',
    500: '#d2a1fa',
    950: '#000000',
  },
}
SCSS
$custom: #d2a1fa;
$custom-light: #e1bdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a1fa",
  "rgb": {
    "r": 210,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 273.034,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.78616,
    "c": 0.13292,
    "h": 308.8
  },
  "luminance": 0.46094
}

Semantic roles & 50–950 ramp

primary
#D2A1FA
secondary
#E4F6D5
accent
#E60067
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #D2A1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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