#D8A3FE#D8A3FE

#D8A3FE is a light, vivid violet. Relative luminance 0.479; OKLCH L 79.7% C 0.137 H 310.3°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#D8A3FE
RGBrgb(216, 163, 254)
HSLhsl(275, 98%, 82%)
HSVhsv(275, 36%, 100%)
CMYKcmyk(15%, 35.8%, 0%, 0.4%)
CIE-LABlab(74.79, 35.90, -37.79)
CIE-LCHlch(74.79, 52.12, 313.53°)
OKLaboklab(79.7% 0.0883 -0.1042)
OKLCHoklch(79.7% 0.137 310.3)
XYZxyz(59.3023, 47.9499, 99.8779)
Luminance0.4795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A3FE #C9FEA3
analogous
#ABA3FE #D8A3FE #FEA3F7
triadic
#D8A3FE #FED8A3 #A3FED8
tetradic
#D8A3FE #FEABA3 #C9FEA3 #A3F7FE
square
#D8A3FE #FEABA3 #C9FEA3 #A3F7FE
split-complementary
#D8A3FE #F7FEA3 #A3FEAB
monochromatic
#A52AFD #BE66FD #D8A3FE #F2E0FF #F2E1FF

Accessibility & contrast

On white

1.98
#D8A3FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#D8A3FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A3FE
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A3FE#FFFFFF#000000##000000
##D8A3FE1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B6FF
Deuteranopia (green-blind)
#9EB9FB
Tritanopia (blue-blind)
#D4B0C5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d8a3fe;
/* rgb */ color: rgb(216, 163, 254);
/* oklch */ color: oklch(79.7% 0.137 310.3);
Tailwind
colors: {
  custom: {
    50: '#e5bfff',
    500: '#d8a3fe',
    950: '#000000',
  },
}
SCSS
$custom: #d8a3fe;
$custom-light: #e5bfff;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a3fe",
  "rgb": {
    "r": 216,
    "g": 163,
    "b": 254
  },
  "hsl": {
    "h": 274.945,
    "s": 97.849,
    "l": 81.765
  },
  "oklch": {
    "l": 0.79703,
    "c": 0.13656,
    "h": 310.3
  },
  "luminance": 0.47949
}

Semantic roles & 50–950 ramp

primary
#D8A3FE
secondary
#E3F7D4
accent
#E60060
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #D8A3FE

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

Preview Lab → · Contrast checker → · Palette generator →

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