#D8A8FF#D8A8FF

#D8A8FF is a light, vivid violet. Relative luminance 0.498; OKLCH L 80.6% C 0.129 H 309.0°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#D8A8FF
RGBrgb(216, 168, 255)
HSLhsl(273, 100%, 83%)
HSVhsv(273, 34%, 100%)
CMYKcmyk(15.3%, 34.1%, 0%, 0%)
CIE-LABlab(75.96, 33.41, -36.51)
CIE-LCHlch(75.96, 49.49, 312.46°)
OKLaboklab(80.6% 0.0814 -0.1006)
OKLCHoklch(80.6% 0.129 309)
XYZxyz(60.3682, 49.8248, 101.0253)
Luminance0.4982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A8FF #CFFFA8
analogous
#ACA8FF #D8A8FF #FFA8FB
triadic
#D8A8FF #FFD8A8 #A8FFD8
tetradic
#D8A8FF #FFACA8 #CFFFA8 #A8FBFF
square
#D8A8FF #FFACA8 #CFFFA8 #A8FBFF
split-complementary
#D8A8FF #FBFFA8 #A8FFAC
monochromatic
#A12EFF #BD6BFF #D8A8FF #F1E0FF #F1E0FF

Accessibility & contrast

On white

1.92
#D8A8FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#D8A8FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A8FF
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A8FF#FFFFFF#000000##000000
##D8A8FF1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B9FF
Deuteranopia (green-blind)
#A2BCFC
Tritanopia (blue-blind)
#D3B4C8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d8a8ff;
/* rgb */ color: rgb(216, 168, 255);
/* oklch */ color: oklch(80.6% 0.129 309.0);
Tailwind
colors: {
  custom: {
    50: '#e5c2ff',
    500: '#d8a8ff',
    950: '#000000',
  },
}
SCSS
$custom: #d8a8ff;
$custom-light: #e5c2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a8ff",
  "rgb": {
    "r": 216,
    "g": 168,
    "b": 255
  },
  "hsl": {
    "h": 273.103,
    "s": 100,
    "l": 82.941
  },
  "oklch": {
    "l": 0.80603,
    "c": 0.12942,
    "h": 309
  },
  "luminance": 0.49824
}

Semantic roles & 50–950 ramp

primary
#D8A8FF
secondary
#E4F7D4
accent
#E60067
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #D8A8FF

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

Preview Lab → · Contrast checker → · Palette generator →

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