#D8A7FF#D8A7FF

#D8A7FF is a light, vivid violet. Relative luminance 0.495; OKLCH L 80.4% C 0.131 H 309.2°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#D8A7FF
RGBrgb(216, 167, 255)
HSLhsl(273, 100%, 83%)
HSVhsv(273, 35%, 100%)
CMYKcmyk(15.3%, 34.5%, 0%, 0%)
CIE-LABlab(75.73, 33.95, -36.87)
CIE-LCHlch(75.73, 50.12, 312.64°)
OKLaboklab(80.43% 0.0828 -0.1016)
OKLCHoklch(80.43% 0.131 309.2)
XYZxyz(60.1843, 49.4570, 100.9640)
Luminance0.4946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A7FF #CEFFA7
analogous
#ACA7FF #D8A7FF #FFA7FA
triadic
#D8A7FF #FFD8A7 #A7FFD8
tetradic
#D8A7FF #FFACA7 #CEFFA7 #A7FAFF
square
#D8A7FF #FFACA7 #CEFFA7 #A7FAFF
split-complementary
#D8A7FF #FAFFA7 #A7FFAC
monochromatic
#A22DFF #BD6AFF #D8A7FF #F1E0FF #F1E0FF

Accessibility & contrast

On white

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

On black

10.89
#D8A7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A7FF
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A7FF#FFFFFF#000000##000000
##D8A7FF1.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B8FF
Deuteranopia (green-blind)
#A1BBFC
Tritanopia (blue-blind)
#D3B3C7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d8a7ff;
/* rgb */ color: rgb(216, 167, 255);
/* oklch */ color: oklch(80.4% 0.131 309.2);
Tailwind
colors: {
  custom: {
    50: '#e5c1ff',
    500: '#d8a7ff',
    950: '#000000',
  },
}
SCSS
$custom: #d8a7ff;
$custom-light: #e5c1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a7ff",
  "rgb": {
    "r": 216,
    "g": 167,
    "b": 255
  },
  "hsl": {
    "h": 273.409,
    "s": 100,
    "l": 82.745
  },
  "oklch": {
    "l": 0.80431,
    "c": 0.13109,
    "h": 309.2
  },
  "luminance": 0.49456
}

Semantic roles & 50–950 ramp

primary
#D8A7FF
secondary
#E3F7D4
accent
#E60066
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #D8A7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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