#D4A5FA#D4A5FA

#D4A5FA is a light, vivid violet. Relative luminance 0.478; OKLCH L 79.5% C 0.127 H 309.0°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#D4A5FA
RGBrgb(212, 165, 250)
HSLhsl(273, 89%, 81%)
HSVhsv(273, 34%, 98%)
CMYKcmyk(15.2%, 34%, 0%, 2%)
CIE-LABlab(74.70, 32.78, -35.79)
CIE-LCHlch(74.70, 48.54, 312.49°)
OKLaboklab(79.5% 0.08 -0.0986)
OKLCHoklch(79.5% 0.127 309)
XYZxyz(57.8587, 47.8101, 96.6042)
Luminance0.4781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4A5FA #CBFAA5
analogous
#AAA5FA #D4A5FA #FAA5F6
triadic
#D4A5FA #FAD4A5 #A5FAD4
tetradic
#D4A5FA #FAAAA5 #CBFAA5 #A5F6FA
square
#D4A5FA #FAAAA5 #CBFAA5 #A5F6FA
split-complementary
#D4A5FA #F6FAA5 #A5FAAA
monochromatic
#9D31F4 #B86BF7 #D4A5FA #F0DFFD #F1E2FD

Accessibility & contrast

On white

1.99
#D4A5FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#D4A5FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4A5FA
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4A5FA#FFFFFF#000000##000000
##D4A5FA1.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B6FD
Deuteranopia (green-blind)
#9FB9F8
Tritanopia (blue-blind)
#CFB1C4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d4a5fa;
/* rgb */ color: rgb(212, 165, 250);
/* oklch */ color: oklch(79.5% 0.127 309.0);
Tailwind
colors: {
  custom: {
    50: '#e2c0fc',
    500: '#d4a5fa',
    950: '#000000',
  },
}
SCSS
$custom: #d4a5fa;
$custom-light: #e2c0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d4a5fa",
  "rgb": {
    "r": 212,
    "g": 165,
    "b": 250
  },
  "hsl": {
    "h": 273.176,
    "s": 89.474,
    "l": 81.373
  },
  "oklch": {
    "l": 0.79495,
    "c": 0.12696,
    "h": 309
  },
  "luminance": 0.47809
}

Semantic roles & 50–950 ramp

primary
#D4A5FA
secondary
#E4F5D6
accent
#E60067
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #D4A5FA

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

Preview Lab → · Contrast checker → · Palette generator →

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