#D8A3FF#D8A3FF

#D8A3FF is a light, vivid violet. Relative luminance 0.480; OKLCH L 79.7% C 0.138 H 310.0°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#D8A3FF
RGBrgb(216, 163, 255)
HSLhsl(275, 100%, 82%)
HSVhsv(275, 36%, 100%)
CMYKcmyk(15.3%, 36.1%, 0%, 0%)
CIE-LABlab(74.83, 36.11, -38.26)
CIE-LCHlch(74.83, 52.61, 313.34°)
OKLaboklab(79.75% 0.0885 -0.1056)
OKLCHoklch(79.75% 0.138 310)
XYZxyz(59.4628, 48.0141, 100.7235)
Luminance0.4801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A3FF #CAFFA3
analogous
#AAA3FF #D8A3FF #FFA3F8
triadic
#D8A3FF #FFD8A3 #A3FFD8
tetradic
#D8A3FF #FFAAA3 #CAFFA3 #A3F8FF
square
#D8A3FF #FFAAA3 #CAFFA3 #A3F8FF
split-complementary
#D8A3FF #F8FFA3 #A3FFAA
monochromatic
#A429FF #BE66FF #D8A3FF #F2E0FF #F2E0FF

Accessibility & contrast

On white

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

On black

10.60
#D8A3FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A3FF
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A3FF#FFFFFF#000000##000000
##D8A3FF1.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8a3ff;
/* rgb */ color: rgb(216, 163, 255);
/* oklch */ color: oklch(79.7% 0.138 310.0);
Tailwind
colors: {
  custom: {
    50: '#e5bfff',
    500: '#d8a3ff',
    950: '#000000',
  },
}
SCSS
$custom: #d8a3ff;
$custom-light: #e5bfff;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a3ff",
  "rgb": {
    "r": 216,
    "g": 163,
    "b": 255
  },
  "hsl": {
    "h": 274.565,
    "s": 100,
    "l": 81.961
  },
  "oklch": {
    "l": 0.79747,
    "c": 0.13775,
    "h": 310
  },
  "luminance": 0.48013
}

Semantic roles & 50–950 ramp

primary
#D8A3FF
secondary
#E3F7D4
accent
#E60061
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #D8A3FF

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

Preview Lab → · Contrast checker → · Palette generator →

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