#D8A7FD#D8A7FD

#D8A7FD is a light, vivid violet. Relative luminance 0.493; OKLCH L 80.3% C 0.129 H 309.8°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#D8A7FD
RGBrgb(216, 167, 253)
HSLhsl(274, 96%, 82%)
HSVhsv(274, 34%, 99%)
CMYKcmyk(14.6%, 34%, 0%, 0.8%)
CIE-LABlab(75.66, 33.53, -35.91)
CIE-LCHlch(75.66, 49.13, 313.03°)
OKLaboklab(80.34% 0.0824 -0.0989)
OKLCHoklch(80.34% 0.129 309.8)
XYZxyz(59.8641, 49.3289, 99.2772)
Luminance0.4933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A7FD #CCFDA7
analogous
#ADA7FD #D8A7FD #FDA7F7
triadic
#D8A7FD #FDD8A7 #A7FDD8
tetradic
#D8A7FD #FDADA7 #CCFDA7 #A7F7FD
square
#D8A7FD #FDADA7 #CCFDA7 #A7F7FD
split-complementary
#D8A7FD #F7FDA7 #A7FDAD
monochromatic
#A32FFA #BD6BFC #D8A7FD #F2E1FE #F2E1FE

Accessibility & contrast

On white

1.93
#D8A7FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#D8A7FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A7FD
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A7FD#FFFFFF#000000##000000
##D8A7FD1.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B8FF
Deuteranopia (green-blind)
#A2BBFA
Tritanopia (blue-blind)
#D4B3C7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d8a7fd;
/* rgb */ color: rgb(216, 167, 253);
/* oklch */ color: oklch(80.3% 0.129 309.8);
Tailwind
colors: {
  custom: {
    50: '#e5c1fe',
    500: '#d8a7fd',
    950: '#000000',
  },
}
SCSS
$custom: #d8a7fd;
$custom-light: #e5c1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a7fd",
  "rgb": {
    "r": 216,
    "g": 167,
    "b": 253
  },
  "hsl": {
    "h": 274.186,
    "s": 95.556,
    "l": 82.353
  },
  "oklch": {
    "l": 0.80344,
    "c": 0.12869,
    "h": 309.8
  },
  "luminance": 0.49328
}

Semantic roles & 50–950 ramp

primary
#D8A7FD
secondary
#E3F7D4
accent
#E60063
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #D8A7FD

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

Preview Lab → · Contrast checker → · Palette generator →

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