#D8AAFE#D8AAFE

#D8AAFE is a light, vivid violet. Relative luminance 0.505; OKLCH L 80.9% C 0.125 H 308.9°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#D8AAFE
RGBrgb(216, 170, 254)
HSLhsl(273, 98%, 83%)
HSVhsv(273, 33%, 100%)
CMYKcmyk(15%, 33.1%, 0%, 0.4%)
CIE-LABlab(76.38, 32.11, -35.33)
CIE-LCHlch(76.38, 47.74, 312.27°)
OKLaboklab(80.91% 0.0784 -0.0972)
OKLCHoklch(80.91% 0.125 308.9)
XYZxyz(60.5797, 50.5047, 100.3037)
Luminance0.5050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8AAFE #D0FEAA
analogous
#AEAAFE #D8AAFE #FEAAFA
triadic
#D8AAFE #FED8AA #AAFED8
tetradic
#D8AAFE #FEAEAA #D0FEAA #AAFAFE
square
#D8AAFE #FEAEAA #D0FEAA #AAFAFE
split-complementary
#D8AAFE #FAFEAA #AAFEAE
monochromatic
#A031FD #BC6EFD #D8AAFE #F1E1FF #F1E1FF

Accessibility & contrast

On white

1.89
#D8AAFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#D8AAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8AAFE
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8AAFE#FFFFFF#000000##000000
##D8AAFE1.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9ABAFF
Deuteranopia (green-blind)
#A4BDFC
Tritanopia (blue-blind)
#D3B6C9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d8aafe;
/* rgb */ color: rgb(216, 170, 254);
/* oklch */ color: oklch(80.9% 0.125 308.9);
Tailwind
colors: {
  custom: {
    50: '#e5c3ff',
    500: '#d8aafe',
    950: '#000000',
  },
}
SCSS
$custom: #d8aafe;
$custom-light: #e5c3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d8aafe",
  "rgb": {
    "r": 216,
    "g": 170,
    "b": 254
  },
  "hsl": {
    "h": 272.857,
    "s": 97.674,
    "l": 83.137
  },
  "oklch": {
    "l": 0.80907,
    "c": 0.12488,
    "h": 308.9
  },
  "luminance": 0.50504
}

Semantic roles & 50–950 ramp

primary
#D8AAFE
secondary
#A0E369
accent
#E60068
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#161218
muted
#848286

Preview Lab

Preview with #D8AAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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