#D8A7FE#D8A7FE

#D8A7FE is a light, vivid violet. Relative luminance 0.494; OKLCH L 80.4% C 0.130 H 309.5°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#D8A7FE
RGBrgb(216, 167, 254)
HSLhsl(274, 98%, 83%)
HSVhsv(274, 34%, 100%)
CMYKcmyk(15%, 34.3%, 0%, 0.4%)
CIE-LABlab(75.69, 33.74, -36.39)
CIE-LCHlch(75.69, 49.62, 312.84°)
OKLaboklab(80.39% 0.0826 -0.1002)
OKLCHoklch(80.39% 0.13 309.5)
XYZxyz(60.0238, 49.3928, 100.1184)
Luminance0.4939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A7FE #CDFEA7
analogous
#ACA7FE #D8A7FE #FEA7F9
triadic
#D8A7FE #FED8A7 #A7FED8
tetradic
#D8A7FE #FEACA7 #CDFEA7 #A7F9FE
square
#D8A7FE #FEACA7 #CDFEA7 #A7F9FE
split-complementary
#D8A7FE #F9FEA7 #A7FEAC
monochromatic
#A22EFD #BD6AFD #D8A7FE #F2E1FF #F2E1FF

Accessibility & contrast

On white

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

On black

10.88
#D8A7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A7FE
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A7FE#FFFFFF#000000##000000
##D8A7FE1.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8a7fe;
/* rgb */ color: rgb(216, 167, 254);
/* oklch */ color: oklch(80.4% 0.130 309.5);
Tailwind
colors: {
  custom: {
    50: '#e5c1ff',
    500: '#d8a7fe',
    950: '#000000',
  },
}
SCSS
$custom: #d8a7fe;
$custom-light: #e5c1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a7fe",
  "rgb": {
    "r": 216,
    "g": 167,
    "b": 254
  },
  "hsl": {
    "h": 273.793,
    "s": 97.753,
    "l": 82.549
  },
  "oklch": {
    "l": 0.80388,
    "c": 0.12989,
    "h": 309.5
  },
  "luminance": 0.49392
}

Semantic roles & 50–950 ramp

primary
#D8A7FE
secondary
#E3F7D4
accent
#E60064
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #D8A7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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