#D1A5FA#D1A5FA

#D1A5FA is a light, vivid violet. Relative luminance 0.474; OKLCH L 79.2% C 0.126 H 307.5°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#D1A5FA
RGBrgb(209, 165, 250)
HSLhsl(271, 89%, 81%)
HSVhsv(271, 34%, 98%)
CMYKcmyk(16.4%, 34%, 0%, 2%)
CIE-LABlab(74.42, 31.89, -36.25)
CIE-LCHlch(74.42, 48.28, 311.34°)
OKLaboklab(79.22% 0.0766 -0.0999)
OKLCHoklch(79.22% 0.126 307.5)
XYZxyz(57.0017, 47.3682, 96.5640)
Luminance0.4737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1A5FA #CEFAA5
analogous
#A7A5FA #D1A5FA #FAA5F9
triadic
#D1A5FA #FAD1A5 #A5FAD1
tetradic
#D1A5FA #FAA7A5 #CEFAA5 #A5F9FA
square
#D1A5FA #FAA7A5 #CEFAA5 #A5F9FA
split-complementary
#D1A5FA #F9FAA5 #A5FAA7
monochromatic
#9631F4 #B36BF7 #D1A5FA #EFDFFD #F0E2FD

Accessibility & contrast

On white

2.01
#D1A5FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#D1A5FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1A5FA
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1A5FA#FFFFFF#000000##000000
##D1A5FA1.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B5FD
Deuteranopia (green-blind)
#9EB8F8
Tritanopia (blue-blind)
#CCB1C4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d1a5fa;
/* rgb */ color: rgb(209, 165, 250);
/* oklch */ color: oklch(79.2% 0.126 307.5);
Tailwind
colors: {
  custom: {
    50: '#e0c0fc',
    500: '#d1a5fa',
    950: '#000000',
  },
}
SCSS
$custom: #d1a5fa;
$custom-light: #e0c0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d1a5fa",
  "rgb": {
    "r": 209,
    "g": 165,
    "b": 250
  },
  "hsl": {
    "h": 271.059,
    "s": 89.474,
    "l": 81.373
  },
  "oklch": {
    "l": 0.79216,
    "c": 0.12591,
    "h": 307.5
  },
  "luminance": 0.47368
}

Semantic roles & 50–950 ramp

primary
#D1A5FA
secondary
#E5F5D6
accent
#E6006F
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #D1A5FA

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

Preview Lab → · Contrast checker → · Palette generator →

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