#D8A2FB#D8A2FB

#D8A2FB is a light, vivid violet. Relative luminance 0.474; OKLCH L 79.4% C 0.135 H 311.4°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#D8A2FB
RGBrgb(216, 162, 251)
HSLhsl(276, 92%, 81%)
HSVhsv(276, 35%, 98%)
CMYKcmyk(13.9%, 35.5%, 0%, 1.6%)
CIE-LABlab(74.45, 35.81, -36.70)
CIE-LCHlch(74.45, 51.28, 314.30°)
OKLaboklab(79.4% 0.089 -0.1011)
OKLCHoklch(79.4% 0.135 311.4)
XYZxyz(58.6488, 47.4055, 97.3086)
Luminance0.4741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A2FB #C5FBA2
analogous
#ABA2FB #D8A2FB #FBA2F2
triadic
#D8A2FB #FBD8A2 #A2FBD8
tetradic
#D8A2FB #FBABA2 #C5FBA2 #A2F2FB
square
#D8A2FB #FBABA2 #C5FBA2 #A2F2FB
split-complementary
#D8A2FB #F2FBA2 #A2FBAB
monochromatic
#A72DF6 #BF67F8 #D8A2FB #F1DDFE #F3E2FE

Accessibility & contrast

On white

2.00
#D8A2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#D8A2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A2FB
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A2FB#FFFFFF#000000##000000
##D8A2FB1.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B4FE
Deuteranopia (green-blind)
#9EB8F8
Tritanopia (blue-blind)
#D5AEC3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d8a2fb;
/* rgb */ color: rgb(216, 162, 251);
/* oklch */ color: oklch(79.4% 0.135 311.4);
Tailwind
colors: {
  custom: {
    50: '#e5befd',
    500: '#d8a2fb',
    950: '#000000',
  },
}
SCSS
$custom: #d8a2fb;
$custom-light: #e5befd;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a2fb",
  "rgb": {
    "r": 216,
    "g": 162,
    "b": 251
  },
  "hsl": {
    "h": 276.404,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.79402,
    "c": 0.1347,
    "h": 311.4
  },
  "luminance": 0.47405
}

Semantic roles & 50–950 ramp

primary
#D8A2FB
secondary
#E2F6D5
accent
#E6005A
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D8A2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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