#D1A2FA#D1A2FA

#D1A2FA is a light, vivid violet. Relative luminance 0.463; OKLCH L 78.7% C 0.131 H 308.1°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#D1A2FA
RGBrgb(209, 162, 250)
HSLhsl(272, 90%, 81%)
HSVhsv(272, 35%, 98%)
CMYKcmyk(16.4%, 35.2%, 0%, 2%)
CIE-LABlab(73.74, 33.52, -37.31)
CIE-LCHlch(73.74, 50.16, 311.94°)
OKLaboklab(78.7% 0.0808 -0.103)
OKLCHoklch(78.7% 0.131 308.1)
XYZxyz(56.4669, 46.2986, 96.3858)
Luminance0.4630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1A2FA #CBFAA2
analogous
#A5A2FA #D1A2FA #FAA2F7
triadic
#D1A2FA #FAD1A2 #A2FAD1
tetradic
#D1A2FA #FAA5A2 #CBFAA2 #A2F7FA
square
#D1A2FA #FAA5A2 #CBFAA2 #A2F7FA
split-complementary
#D1A2FA #F7FAA2 #A2FAA5
monochromatic
#982EF4 #B468F7 #D1A2FA #EEDCFD #F1E2FD

Accessibility & contrast

On white

2.05
#D1A2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#D1A2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1A2FA
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1A2FA#FFFFFF#000000##000000
##D1A2FA1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1a2fa;
/* rgb */ color: rgb(209, 162, 250);
/* oklch */ color: oklch(78.7% 0.131 308.1);
Tailwind
colors: {
  custom: {
    50: '#e0befc',
    500: '#d1a2fa',
    950: '#000000',
  },
}
SCSS
$custom: #d1a2fa;
$custom-light: #e0befc;
$custom-dark: #000000;
JSON
{
  "hex": "#d1a2fa",
  "rgb": {
    "r": 209,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 272.045,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.78695,
    "c": 0.13091,
    "h": 308.1
  },
  "luminance": 0.46298
}

Semantic roles & 50–950 ramp

primary
#D1A2FA
secondary
#E4F6D5
accent
#E6006B
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #D1A2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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