#D5A7FA#D5A7FA

#D5A7FA is a light, vivid violet. Relative luminance 0.487; OKLCH L 79.9% C 0.124 H 309.2°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#D5A7FA
RGBrgb(213, 167, 250)
HSLhsl(273, 89%, 82%)
HSVhsv(273, 33%, 98%)
CMYKcmyk(14.8%, 33.2%, 0%, 2%)
CIE-LABlab(75.26, 32.00, -34.93)
CIE-LCHlch(75.26, 47.37, 312.49°)
OKLaboklab(79.94% 0.0783 -0.0961)
OKLCHoklch(79.94% 0.124 309.2)
XYZxyz(58.5115, 48.6863, 96.7389)
Luminance0.4869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5A7FA #CCFAA7
analogous
#ACA7FA #D5A7FA #FAA7F6
triadic
#D5A7FA #FAD5A7 #A7FAD5
tetradic
#D5A7FA #FAACA7 #CCFAA7 #A7F6FA
square
#D5A7FA #FAACA7 #CCFAA7 #A7F6FA
split-complementary
#D5A7FA #F6FAA7 #A7FAAC
monochromatic
#9E33F3 #B96DF7 #D5A7FA #F1E1FD #F1E2FD

Accessibility & contrast

On white

1.96
#D5A7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#D5A7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5A7FA
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5A7FA#FFFFFF#000000##000000
##D5A7FA1.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B7FD
Deuteranopia (green-blind)
#A2BAF8
Tritanopia (blue-blind)
#D1B3C5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d5a7fa;
/* rgb */ color: rgb(213, 167, 250);
/* oklch */ color: oklch(79.9% 0.124 309.2);
Tailwind
colors: {
  custom: {
    50: '#e3c1fc',
    500: '#d5a7fa',
    950: '#000000',
  },
}
SCSS
$custom: #d5a7fa;
$custom-light: #e3c1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d5a7fa",
  "rgb": {
    "r": 213,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 273.253,
    "s": 89.247,
    "l": 81.765
  },
  "oklch": {
    "l": 0.79936,
    "c": 0.12396,
    "h": 309.2
  },
  "luminance": 0.48686
}

Semantic roles & 50–950 ramp

primary
#D5A7FA
secondary
#E4F5D6
accent
#E60066
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #D5A7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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