#D8A1FB#D8A1FB

#D8A1FB is a light, vivid violet. Relative luminance 0.471; OKLCH L 79.2% C 0.136 H 311.5°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#D8A1FB
RGBrgb(216, 161, 251)
HSLhsl(277, 92%, 81%)
HSVhsv(277, 36%, 98%)
CMYKcmyk(13.9%, 35.9%, 0%, 1.6%)
CIE-LABlab(74.22, 36.35, -37.05)
CIE-LCHlch(74.22, 51.90, 314.45°)
OKLaboklab(79.23% 0.0904 -0.1021)
OKLCHoklch(79.23% 0.136 311.5)
XYZxyz(58.4734, 47.0546, 97.2502)
Luminance0.4705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A1FB #C4FBA1
analogous
#ABA1FB #D8A1FB #FBA1F1
triadic
#D8A1FB #FBD8A1 #A1FBD8
tetradic
#D8A1FB #FBABA1 #C4FBA1 #A1F1FB
square
#D8A1FB #FBABA1 #C4FBA1 #A1F1FB
split-complementary
#D8A1FB #F1FBA1 #A1FBAB
monochromatic
#A72CF6 #C066F9 #D8A1FB #F0DCFD #F3E2FE

Accessibility & contrast

On white

2.02
#D8A1FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#D8A1FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A1FB
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A1FB#FFFFFF#000000##000000
##D8A1FB1.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B4FE
Deuteranopia (green-blind)
#9DB8F8
Tritanopia (blue-blind)
#D5ADC3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d8a1fb;
/* rgb */ color: rgb(216, 161, 251);
/* oklch */ color: oklch(79.2% 0.136 311.5);
Tailwind
colors: {
  custom: {
    50: '#e5bdfd',
    500: '#d8a1fb',
    950: '#000000',
  },
}
SCSS
$custom: #d8a1fb;
$custom-light: #e5bdfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a1fb",
  "rgb": {
    "r": 216,
    "g": 161,
    "b": 251
  },
  "hsl": {
    "h": 276.667,
    "s": 91.837,
    "l": 80.784
  },
  "oklch": {
    "l": 0.79232,
    "c": 0.13638,
    "h": 311.5
  },
  "luminance": 0.47054
}

Semantic roles & 50–950 ramp

primary
#D8A1FB
secondary
#E2F6D5
accent
#E60059
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D8A1FB

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

Preview Lab → · Contrast checker → · Palette generator →

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