#D5A1FA#D5A1FA

#D5A1FA is a light, vivid violet. Relative luminance 0.465; OKLCH L 78.9% C 0.134 H 310.4°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#D5A1FA
RGBrgb(213, 161, 250)
HSLhsl(275, 90%, 81%)
HSVhsv(275, 36%, 98%)
CMYKcmyk(14.8%, 35.6%, 0%, 2%)
CIE-LABlab(73.89, 35.25, -37.04)
CIE-LCHlch(73.89, 51.13, 313.58°)
OKLaboklab(78.9% 0.0868 -0.1021)
OKLCHoklch(78.9% 0.134 310.4)
XYZxyz(57.4377, 46.5388, 96.3810)
Luminance0.4654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5A1FA #C6FAA1
analogous
#A8A1FA #D5A1FA #FAA1F3
triadic
#D5A1FA #FAD5A1 #A1FAD5
tetradic
#D5A1FA #FAA8A1 #C6FAA1 #A1F3FA
square
#D5A1FA #FAA8A1 #C6FAA1 #A1F3FA
split-complementary
#D5A1FA #F3FAA1 #A1FAA8
monochromatic
#A12DF4 #BB67F7 #D5A1FA #EFDBFD #F2E2FD

Accessibility & contrast

On white

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

On black

10.31
#D5A1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5A1FA
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5A1FA#FFFFFF#000000##000000
##D5A1FA1.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5a1fa;
/* rgb */ color: rgb(213, 161, 250);
/* oklch */ color: oklch(78.9% 0.134 310.4);
Tailwind
colors: {
  custom: {
    50: '#e3bdfc',
    500: '#d5a1fa',
    950: '#000000',
  },
}
SCSS
$custom: #d5a1fa;
$custom-light: #e3bdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d5a1fa",
  "rgb": {
    "r": 213,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 275.056,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.78901,
    "c": 0.13402,
    "h": 310.4
  },
  "luminance": 0.46538
}

Semantic roles & 50–950 ramp

primary
#D5A1FA
secondary
#E3F6D5
accent
#E6005F
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151217
muted
#848185

Preview Lab

Preview with #D5A1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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