#D8A2FC#D8A2FC

#D8A2FC is a light, vivid violet. Relative luminance 0.475; OKLCH L 79.4% C 0.136 H 311.0°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#D8A2FC
RGBrgb(216, 162, 252)
HSLhsl(276, 94%, 81%)
HSVhsv(276, 36%, 99%)
CMYKcmyk(14.3%, 35.7%, 0%, 1.2%)
CIE-LABlab(74.49, 36.02, -37.18)
CIE-LCHlch(74.49, 51.77, 314.09°)
OKLaboklab(79.44% 0.0892 -0.1025)
OKLCHoklch(79.44% 0.136 311)
XYZxyz(58.8068, 47.4687, 98.1410)
Luminance0.4747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A2FC #C6FCA2
analogous
#ABA2FC #D8A2FC #FCA2F3
triadic
#D8A2FC #FCD8A2 #A2FCD8
tetradic
#D8A2FC #FCABA2 #C6FCA2 #A2F3FC
square
#D8A2FC #FCABA2 #C6FCA2 #A2F3FC
split-complementary
#D8A2FC #F3FCA2 #A2FCAB
monochromatic
#A62BF8 #BF67FA #D8A2FC #F1DDFE #F3E1FE

Accessibility & contrast

On white

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

On black

10.49
#D8A2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A2FC
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A2FC#FFFFFF#000000##000000
##D8A2FC1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8a2fc;
/* rgb */ color: rgb(216, 162, 252);
/* oklch */ color: oklch(79.4% 0.136 311.0);
Tailwind
colors: {
  custom: {
    50: '#e5befd',
    500: '#d8a2fc',
    950: '#000000',
  },
}
SCSS
$custom: #d8a2fc;
$custom-light: #e5befd;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a2fc",
  "rgb": {
    "r": 216,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 276,
    "s": 93.75,
    "l": 81.176
  },
  "oklch": {
    "l": 0.79445,
    "c": 0.13587,
    "h": 311
  },
  "luminance": 0.47468
}

Semantic roles & 50–950 ramp

primary
#D8A2FC
secondary
#E2F6D5
accent
#E6005C
background
#FEFBFF
surface
#FCF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D8A2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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