#D3A2FA#D3A2FA

#D3A2FA is a light, vivid violet. Relative luminance 0.466; OKLCH L 78.9% C 0.132 H 309.2°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#D3A2FA
RGBrgb(211, 162, 250)
HSLhsl(273, 90%, 81%)
HSVhsv(273, 35%, 98%)
CMYKcmyk(15.6%, 35.2%, 0%, 2%)
CIE-LABlab(73.93, 34.12, -37.00)
CIE-LCHlch(73.93, 50.33, 312.67°)
OKLaboklab(78.88% 0.0831 -0.1021)
OKLCHoklch(78.88% 0.132 309.2)
XYZxyz(57.0365, 46.5923, 96.4124)
Luminance0.4659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3A2FA #C9FAA2
analogous
#A7A2FA #D3A2FA #FAA2F5
triadic
#D3A2FA #FAD3A2 #A2FAD3
tetradic
#D3A2FA #FAA7A2 #C9FAA2 #A2F5FA
square
#D3A2FA #FAA7A2 #C9FAA2 #A2F5FA
split-complementary
#D3A2FA #F5FAA2 #A2FAA7
monochromatic
#9C2EF4 #B868F7 #D3A2FA #EEDCFD #F1E2FD

Accessibility & contrast

On white

2.04
#D3A2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#D3A2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3A2FA
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3A2FA#FFFFFF#000000##000000
##D3A2FA1.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B3FD
Deuteranopia (green-blind)
#9CB7F7
Tritanopia (blue-blind)
#CEAFC3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d3a2fa;
/* rgb */ color: rgb(211, 162, 250);
/* oklch */ color: oklch(78.9% 0.132 309.2);
Tailwind
colors: {
  custom: {
    50: '#e1befc',
    500: '#d3a2fa',
    950: '#000000',
  },
}
SCSS
$custom: #d3a2fa;
$custom-light: #e1befc;
$custom-dark: #000000;
JSON
{
  "hex": "#d3a2fa",
  "rgb": {
    "r": 211,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 273.409,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.78882,
    "c": 0.13161,
    "h": 309.2
  },
  "luminance": 0.46592
}

Semantic roles & 50–950 ramp

primary
#D3A2FA
secondary
#E4F6D5
accent
#E60066
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #D3A2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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