#D8AEF7#D8AEF7

#D8AEF7 is a light, moderate violet. Relative luminance 0.516; OKLCH L 81.3% C 0.110 H 310.3°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#D8AEF7
RGBrgb(216, 174, 247)
HSLhsl(275, 82%, 83%)
HSVhsv(275, 30%, 97%)
CMYKcmyk(12.6%, 29.6%, 0%, 3.1%)
CIE-LABlab(77.03, 28.48, -30.55)
CIE-LCHlch(77.03, 41.77, 313.00°)
OKLaboklab(81.32% 0.0709 -0.0837)
OKLCHoklch(81.32% 0.11 310.3)
XYZxyz(60.2405, 51.5871, 94.7615)
Luminance0.5159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8AEF7 #CDF7AE
analogous
#B4AEF7 #D8AEF7 #F7AEF1
triadic
#D8AEF7 #F7D8AE #AEF7D8
tetradic
#D8AEF7 #F7B4AE #CDF7AE #AEF1F7
square
#D8AEF7 #F7B4AE #CDF7AE #AEF1F7
split-complementary
#D8AEF7 #F1F7AE #AEF7B4
monochromatic
#A23FEC #BD76F1 #D8AEF7 #F2E3FC #F2E3FC

Accessibility & contrast

On white

1.86
#D8AEF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#D8AEF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8AEF7
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8AEF7#FFFFFF#000000##000000
##D8AEF71.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BCFA
Deuteranopia (green-blind)
#AABFF5
Tritanopia (blue-blind)
#D5B8C8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d8aef7;
/* rgb */ color: rgb(216, 174, 247);
/* oklch */ color: oklch(81.3% 0.110 310.3);
Tailwind
colors: {
  custom: {
    50: '#e4c6fa',
    500: '#d8aef7',
    950: '#000000',
  },
}
SCSS
$custom: #d8aef7;
$custom-light: #e4c6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d8aef7",
  "rgb": {
    "r": 216,
    "g": 174,
    "b": 247
  },
  "hsl": {
    "h": 274.521,
    "s": 82.022,
    "l": 82.549
  },
  "oklch": {
    "l": 0.8132,
    "c": 0.10967,
    "h": 310.3
  },
  "luminance": 0.51586
}

Semantic roles & 50–950 ramp

primary
#D8AEF7
secondary
#9DD971
accent
#DE0763
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#161317
muted
#848285

Preview Lab

Preview with #D8AEF7

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

Preview Lab → · Contrast checker → · Palette generator →

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