#D1A1FA#D1A1FA

#D1A1FA is a light, vivid violet. Relative luminance 0.459; OKLCH L 78.5% C 0.133 H 308.3°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#D1A1FA
RGBrgb(209, 161, 250)
HSLhsl(272, 90%, 81%)
HSVhsv(272, 36%, 98%)
CMYKcmyk(16.4%, 35.6%, 0%, 2%)
CIE-LABlab(73.51, 34.07, -37.67)
CIE-LCHlch(73.51, 50.79, 312.13°)
OKLaboklab(78.52% 0.0822 -0.104)
OKLCHoklch(78.52% 0.133 308.3)
XYZxyz(56.2915, 45.9477, 96.3273)
Luminance0.4595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1A1FA #CAFAA1
analogous
#A4A1FA #D1A1FA #FAA1F6
triadic
#D1A1FA #FAD1A1 #A1FAD1
tetradic
#D1A1FA #FAA4A1 #CAFAA1 #A1F6FA
square
#D1A1FA #FAA4A1 #CAFAA1 #A1F6FA
split-complementary
#D1A1FA #F6FAA1 #A1FAA4
monochromatic
#982DF4 #B567F7 #D1A1FA #EDDBFD #F1E2FD

Accessibility & contrast

On white

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

On black

10.19
#D1A1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1A1FA
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1A1FA#FFFFFF#000000##000000
##D1A1FA1.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB3FD
Deuteranopia (green-blind)
#9AB5F7
Tritanopia (blue-blind)
#CCAEC2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d1a1fa;
/* rgb */ color: rgb(209, 161, 250);
/* oklch */ color: oklch(78.5% 0.133 308.3);
Tailwind
colors: {
  custom: {
    50: '#e0bdfc',
    500: '#d1a1fa',
    950: '#000000',
  },
}
SCSS
$custom: #d1a1fa;
$custom-light: #e0bdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d1a1fa",
  "rgb": {
    "r": 209,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 272.36,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.78522,
    "c": 0.13257,
    "h": 308.3
  },
  "luminance": 0.45947
}

Semantic roles & 50–950 ramp

primary
#D1A1FA
secondary
#E4F6D5
accent
#E6006A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #D1A1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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