#D8A8FB#D8A8FB

#D8A8FB is a light, vivid violet. Relative luminance 0.496; OKLCH L 80.4% C 0.125 H 310.2°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#D8A8FB
RGBrgb(216, 168, 251)
HSLhsl(275, 91%, 82%)
HSVhsv(275, 33%, 98%)
CMYKcmyk(13.9%, 33.1%, 0%, 1.6%)
CIE-LABlab(75.80, 32.57, -34.60)
CIE-LCHlch(75.80, 47.52, 313.27°)
OKLaboklab(80.43% 0.0805 -0.0951)
OKLCHoklch(80.43% 0.125 310.2)
XYZxyz(59.7310, 49.5700, 97.6694)
Luminance0.4957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A8FB #CBFBA8
analogous
#AFA8FB #D8A8FB #FBA8F4
triadic
#D8A8FB #FBD8A8 #A8FBD8
tetradic
#D8A8FB #FBAFA8 #CBFBA8 #A8F4FB
square
#D8A8FB #FBAFA8 #CBFBA8 #A8F4FB
split-complementary
#D8A8FB #F4FBA8 #A8FBAF
monochromatic
#A433F6 #BE6DF8 #D8A8FB #F2E2FE #F2E2FE

Accessibility & contrast

On white

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

On black

10.91
#D8A8FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A8FB
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A8FB#FFFFFF#000000##000000
##D8A8FB1.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B8FE
Deuteranopia (green-blind)
#A4BCF9
Tritanopia (blue-blind)
#D4B3C6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d8a8fb;
/* rgb */ color: rgb(216, 168, 251);
/* oklch */ color: oklch(80.4% 0.125 310.2);
Tailwind
colors: {
  custom: {
    50: '#e5c2fd',
    500: '#d8a8fb',
    950: '#000000',
  },
}
SCSS
$custom: #d8a8fb;
$custom-light: #e5c2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a8fb",
  "rgb": {
    "r": 216,
    "g": 168,
    "b": 251
  },
  "hsl": {
    "h": 274.699,
    "s": 91.209,
    "l": 82.157
  },
  "oklch": {
    "l": 0.80432,
    "c": 0.12461,
    "h": 310.2
  },
  "luminance": 0.49569
}

Semantic roles & 50–950 ramp

primary
#D8A8FB
secondary
#E3F6D5
accent
#E60061
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D8A8FB

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

Preview Lab → · Contrast checker → · Palette generator →

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