#D8A7FA#D8A7FA

#D8A7FA is a light, vivid violet. Relative luminance 0.491; OKLCH L 80.2% C 0.125 H 310.7°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#D8A7FA
RGBrgb(216, 167, 250)
HSLhsl(275, 89%, 82%)
HSVhsv(275, 33%, 98%)
CMYKcmyk(13.6%, 33.2%, 0%, 2%)
CIE-LABlab(75.54, 32.90, -34.47)
CIE-LCHlch(75.54, 47.65, 313.66°)
OKLaboklab(80.22% 0.0817 -0.0948)
OKLCHoklch(80.22% 0.125 310.7)
XYZxyz(59.3899, 49.1393, 96.7801)
Luminance0.4914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A7FA #C9FAA7
analogous
#AFA7FA #D8A7FA #FAA7F2
triadic
#D8A7FA #FAD8A7 #A7FAD8
tetradic
#D8A7FA #FAAFA7 #C9FAA7 #A7F2FA
square
#D8A7FA #FAAFA7 #C9FAA7 #A7F2FA
split-complementary
#D8A7FA #F2FAA7 #A7FAAF
monochromatic
#A533F3 #BE6DF7 #D8A7FA #F2E1FD #F2E2FD

Accessibility & contrast

On white

1.94
#D8A7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#D8A7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A7FA
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A7FA#FFFFFF#000000##000000
##D8A7FA1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B8FD
Deuteranopia (green-blind)
#A3BBF8
Tritanopia (blue-blind)
#D4B2C5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d8a7fa;
/* rgb */ color: rgb(216, 167, 250);
/* oklch */ color: oklch(80.2% 0.125 310.7);
Tailwind
colors: {
  custom: {
    50: '#e5c1fc',
    500: '#d8a7fa',
    950: '#000000',
  },
}
SCSS
$custom: #d8a7fa;
$custom-light: #e5c1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a7fa",
  "rgb": {
    "r": 216,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 275.422,
    "s": 89.247,
    "l": 81.765
  },
  "oklch": {
    "l": 0.80216,
    "c": 0.12511,
    "h": 310.7
  },
  "luminance": 0.49138
}

Semantic roles & 50–950 ramp

primary
#D8A7FA
secondary
#E3F5D6
accent
#E6005E
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D8A7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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