#D8A2FF#D8A2FF

#D8A2FF is a light, vivid violet. Relative luminance 0.477; OKLCH L 79.6% C 0.139 H 310.1°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#D8A2FF
RGBrgb(216, 162, 255)
HSLhsl(275, 100%, 82%)
HSVhsv(275, 36%, 100%)
CMYKcmyk(15.3%, 36.5%, 0%, 0%)
CIE-LABlab(74.61, 36.65, -38.61)
CIE-LCHlch(74.61, 53.23, 313.51°)
OKLaboklab(79.58% 0.0899 -0.1066)
OKLCHoklch(79.58% 0.139 310.1)
XYZxyz(59.2860, 47.6604, 100.6645)
Luminance0.4766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A2FF #C9FFA2
analogous
#AAA2FF #D8A2FF #FFA2F7
triadic
#D8A2FF #FFD8A2 #A2FFD8
tetradic
#D8A2FF #FFAAA2 #C9FFA2 #A2F7FF
square
#D8A2FF #FFAAA2 #C9FFA2 #A2F7FF
split-complementary
#D8A2FF #F7FFA2 #A2FFAA
monochromatic
#A528FF #BE65FF #D8A2FF #F2DFFF #F2E0FF

Accessibility & contrast

On white

1.99
#D8A2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#D8A2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A2FF
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A2FF#FFFFFF#000000##000000
##D8A2FF1.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B5FF
Deuteranopia (green-blind)
#9DB9FC
Tritanopia (blue-blind)
#D4AFC5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d8a2ff;
/* rgb */ color: rgb(216, 162, 255);
/* oklch */ color: oklch(79.6% 0.139 310.1);
Tailwind
colors: {
  custom: {
    50: '#e5beff',
    500: '#d8a2ff',
    950: '#000000',
  },
}
SCSS
$custom: #d8a2ff;
$custom-light: #e5beff;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a2ff",
  "rgb": {
    "r": 216,
    "g": 162,
    "b": 255
  },
  "hsl": {
    "h": 274.839,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.79577,
    "c": 0.13941,
    "h": 310.1
  },
  "luminance": 0.4766
}

Semantic roles & 50–950 ramp

primary
#D8A2FF
secondary
#E3F7D4
accent
#E60060
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #D8A2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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