#D3A1E4#D3A1E4

#D3A1E4 is a light, moderate purple. Relative luminance 0.449; OKLCH L 77.8% C 0.107 H 317.4°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#D3A1E4
RGBrgb(211, 161, 228)
HSLhsl(285, 55%, 76%)
HSVhsv(285, 29%, 89%)
CMYKcmyk(7.5%, 29.4%, 0%, 10.6%)
CIE-LABlab(72.85, 30.13, -26.70)
CIE-LCHlch(72.85, 40.26, 318.46°)
OKLaboklab(77.79% 0.0791 -0.0728)
OKLCHoklch(77.79% 0.107 317.4)
XYZxyz(53.6104, 44.9412, 79.2341)
Luminance0.4494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3A1E4 #B2E4A1
analogous
#B2A1E4 #D3A1E4 #E4A1D4
triadic
#D3A1E4 #E4D3A1 #A1E4D3
tetradic
#D3A1E4 #E4B2A1 #B2E4A1 #A1D4E4
square
#D3A1E4 #E4B2A1 #B2E4A1 #A1D4E4
split-complementary
#D3A1E4 #D4E4A1 #A1E4B2
monochromatic
#A642C9 #BD71D6 #D3A1E4 #E9D1F2 #F4E7F8

Accessibility & contrast

On white

2.10
#D3A1E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#D3A1E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3A1E4
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3A1E4#FFFFFF#000000##000000
##D3A1E41.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B0E7
Deuteranopia (green-blind)
#A4B4E2
Tritanopia (blue-blind)
#D3A9B9
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d3a1e4;
/* rgb */ color: rgb(211, 161, 228);
/* oklch */ color: oklch(77.8% 0.107 317.4);
Tailwind
colors: {
  custom: {
    50: '#e1bdec',
    500: '#d3a1e4',
    950: '#000000',
  },
}
SCSS
$custom: #d3a1e4;
$custom-light: #e1bdec;
$custom-dark: #000000;
JSON
{
  "hex": "#d3a1e4",
  "rgb": {
    "r": 211,
    "g": 161,
    "b": 228
  },
  "hsl": {
    "h": 284.776,
    "s": 55.372,
    "l": 76.275
  },
  "oklch": {
    "l": 0.77785,
    "c": 0.10745,
    "h": 317.4
  },
  "luminance": 0.4494
}

Semantic roles & 50–950 ramp

primary
#D3A1E4
secondary
#E1EFDC
accent
#C3234B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #D3A1E4

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

Preview Lab → · Contrast checker → · Palette generator →

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