#D8A8FA#D8A8FA

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

Color values

HEX#D8A8FA
RGBrgb(216, 168, 250)
HSLhsl(275, 89%, 82%)
HSVhsv(275, 33%, 98%)
CMYKcmyk(13.6%, 32.8%, 0%, 2%)
CIE-LABlab(75.77, 32.36, -34.12)
CIE-LCHlch(75.77, 47.02, 313.48°)
OKLaboklab(80.39% 0.0802 -0.0938)
OKLCHoklch(80.39% 0.123 310.6)
XYZxyz(59.5738, 49.5071, 96.8414)
Luminance0.4951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A8FA #CAFAA8
analogous
#AFA8FA #D8A8FA #FAA8F3
triadic
#D8A8FA #FAD8A8 #A8FAD8
tetradic
#D8A8FA #FAAFA8 #CAFAA8 #A8F3FA
square
#D8A8FA #FAAFA8 #CAFAA8 #A8F3FA
split-complementary
#D8A8FA #F3FAA8 #A8FAAF
monochromatic
#A434F3 #BE6EF7 #D8A8FA #F2E2FD #F2E2FD

Accessibility & contrast

On white

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

On black

10.90
#D8A8FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A8FA
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A8FA#FFFFFF#000000##000000
##D8A8FA1.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB8FD
Deuteranopia (green-blind)
#A4BCF8
Tritanopia (blue-blind)
#D4B3C6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d8a8fa;
/* rgb */ color: rgb(216, 168, 250);
/* oklch */ color: oklch(80.4% 0.123 310.6);
Tailwind
colors: {
  custom: {
    50: '#e5c2fc',
    500: '#d8a8fa',
    950: '#000000',
  },
}
SCSS
$custom: #d8a8fa;
$custom-light: #e5c2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a8fa",
  "rgb": {
    "r": 216,
    "g": 168,
    "b": 250
  },
  "hsl": {
    "h": 275.122,
    "s": 89.13,
    "l": 81.961
  },
  "oklch": {
    "l": 0.8039,
    "c": 0.12342,
    "h": 310.6
  },
  "luminance": 0.49506
}

Semantic roles & 50–950 ramp

primary
#D8A8FA
secondary
#E3F5D6
accent
#E6005F
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D8A8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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