#D8A2FD#D8A2FD

#D8A2FD is a light, vivid violet. Relative luminance 0.475; OKLCH L 79.5% C 0.137 H 310.7°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#D8A2FD
RGBrgb(216, 162, 253)
HSLhsl(276, 96%, 81%)
HSVhsv(276, 36%, 99%)
CMYKcmyk(14.6%, 36%, 0%, 0.8%)
CIE-LABlab(74.53, 36.23, -37.66)
CIE-LCHlch(74.53, 52.25, 313.89°)
OKLaboklab(79.49% 0.0894 -0.1038)
OKLCHoklch(79.49% 0.137 310.7)
XYZxyz(58.9657, 47.5323, 98.9778)
Luminance0.4753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A2FD #C7FDA2
analogous
#ABA2FD #D8A2FD #FDA2F5
triadic
#D8A2FD #FDD8A2 #A2FDD8
tetradic
#D8A2FD #FDABA2 #C7FDA2 #A2F5FD
square
#D8A2FD #FDABA2 #C7FDA2 #A2F5FD
split-complementary
#D8A2FD #F5FDA2 #A2FDAB
monochromatic
#A62AFA #BF66FC #D8A2FD #F1DEFE #F2E1FE

Accessibility & contrast

On white

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

On black

10.51
#D8A2FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A2FD
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A2FD#FFFFFF#000000##000000
##D8A2FD1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B5FF
Deuteranopia (green-blind)
#9DB8FA
Tritanopia (blue-blind)
#D4AFC4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d8a2fd;
/* rgb */ color: rgb(216, 162, 253);
/* oklch */ color: oklch(79.5% 0.137 310.7);
Tailwind
colors: {
  custom: {
    50: '#e5befe',
    500: '#d8a2fd',
    950: '#000000',
  },
}
SCSS
$custom: #d8a2fd;
$custom-light: #e5befe;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a2fd",
  "rgb": {
    "r": 216,
    "g": 162,
    "b": 253
  },
  "hsl": {
    "h": 275.604,
    "s": 95.789,
    "l": 81.373
  },
  "oklch": {
    "l": 0.79489,
    "c": 0.13705,
    "h": 310.7
  },
  "luminance": 0.47531
}

Semantic roles & 50–950 ramp

primary
#D8A2FD
secondary
#E2F7D4
accent
#E6005D
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #D8A2FD

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

Preview Lab → · Contrast checker → · Palette generator →

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