#D8AEFC#D8AEFC

#D8AEFC is a light, moderate violet. Relative luminance 0.519; OKLCH L 81.5% C 0.116 H 308.6°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#D8AEFC
RGBrgb(216, 174, 252)
HSLhsl(272, 93%, 84%)
HSVhsv(272, 31%, 99%)
CMYKcmyk(14.3%, 31%, 0%, 1.2%)
CIE-LABlab(77.22, 29.53, -32.95)
CIE-LCHlch(77.22, 44.24, 311.86°)
OKLaboklab(81.53% 0.0722 -0.0905)
OKLCHoklch(81.53% 0.116 308.6)
XYZxyz(61.0224, 51.8999, 98.8795)
Luminance0.5190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8AEFC #D2FCAE
analogous
#B1AEFC #D8AEFC #FCAEF9
triadic
#D8AEFC #FCD8AE #AEFCD8
tetradic
#D8AEFC #FCB1AE #D2FCAE #AEF9FC
square
#D8AEFC #FCB1AE #D2FCAE #AEF9FC
split-complementary
#D8AEFC #F9FCAE #AEFCB1
monochromatic
#9F38F8 #BC73FA #D8AEFC #F1E1FE #F1E1FE

Accessibility & contrast

On white

1.85
#D8AEFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#D8AEFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8AEFC
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8AEFC#FFFFFF#000000##000000
##D8AEFC1.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0BDFF
Deuteranopia (green-blind)
#A9BFFA
Tritanopia (blue-blind)
#D4B9CA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d8aefc;
/* rgb */ color: rgb(216, 174, 252);
/* oklch */ color: oklch(81.5% 0.116 308.6);
Tailwind
colors: {
  custom: {
    50: '#e5c6fd',
    500: '#d8aefc',
    950: '#000000',
  },
}
SCSS
$custom: #d8aefc;
$custom-light: #e5c6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d8aefc",
  "rgb": {
    "r": 216,
    "g": 174,
    "b": 252
  },
  "hsl": {
    "h": 272.308,
    "s": 92.857,
    "l": 83.529
  },
  "oklch": {
    "l": 0.81525,
    "c": 0.11576,
    "h": 308.6
  },
  "luminance": 0.51899
}

Semantic roles & 50–950 ramp

primary
#D8AEFC
secondary
#A3E06E
accent
#E6006A
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#161317
muted
#848285

Preview Lab

Preview with #D8AEFC

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

Preview Lab → · Contrast checker → · Palette generator →

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