#D8A7FB#D8A7FB

#D8A7FB is a light, vivid violet. Relative luminance 0.492; OKLCH L 80.3% C 0.126 H 310.4°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#D8A7FB
RGBrgb(216, 167, 251)
HSLhsl(275, 91%, 82%)
HSVhsv(275, 33%, 98%)
CMYKcmyk(13.9%, 33.5%, 0%, 1.6%)
CIE-LABlab(75.58, 33.11, -34.95)
CIE-LCHlch(75.58, 48.14, 313.45°)
OKLaboklab(80.26% 0.0819 -0.0961)
OKLCHoklch(80.26% 0.126 310.4)
XYZxyz(59.5471, 49.2021, 97.6081)
Luminance0.4920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A7FB #CAFBA7
analogous
#AEA7FB #D8A7FB #FBA7F4
triadic
#D8A7FB #FBD8A7 #A7FBD8
tetradic
#D8A7FB #FBAEA7 #CAFBA7 #A7F4FB
square
#D8A7FB #FBAEA7 #CAFBA7 #A7F4FB
split-complementary
#D8A7FB #F4FBA7 #A7FBAE
monochromatic
#A432F6 #BE6CF8 #D8A7FB #F2E2FE #F2E2FE

Accessibility & contrast

On white

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

On black

10.84
#D8A7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A7FB
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A7FB#FFFFFF#000000##000000
##D8A7FB1.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B8FE
Deuteranopia (green-blind)
#A3BBF9
Tritanopia (blue-blind)
#D4B3C6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d8a7fb;
/* rgb */ color: rgb(216, 167, 251);
/* oklch */ color: oklch(80.3% 0.126 310.4);
Tailwind
colors: {
  custom: {
    50: '#e5c1fd',
    500: '#d8a7fb',
    950: '#000000',
  },
}
SCSS
$custom: #d8a7fb;
$custom-light: #e5c1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a7fb",
  "rgb": {
    "r": 216,
    "g": 167,
    "b": 251
  },
  "hsl": {
    "h": 275,
    "s": 91.304,
    "l": 81.961
  },
  "oklch": {
    "l": 0.80259,
    "c": 0.1263,
    "h": 310.4
  },
  "luminance": 0.49201
}

Semantic roles & 50–950 ramp

primary
#D8A7FB
secondary
#E3F6D5
accent
#E60060
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D8A7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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