#D8ACFF#D8ACFF

#D8ACFF is a light, vivid violet. Relative luminance 0.513; OKLCH L 81.3% C 0.123 H 308.1°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#D8ACFF
RGBrgb(216, 172, 255)
HSLhsl(272, 100%, 84%)
HSVhsv(272, 33%, 100%)
CMYKcmyk(15.3%, 32.5%, 0%, 0%)
CIE-LABlab(76.88, 31.24, -35.10)
CIE-LCHlch(76.88, 46.99, 311.67°)
OKLaboklab(81.3% 0.0758 -0.0966)
OKLCHoklch(81.3% 0.123 308.1)
XYZxyz(61.1181, 51.3245, 101.2752)
Luminance0.5132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8ACFF #D3FFAC
analogous
#AEACFF #D8ACFF #FFACFD
triadic
#D8ACFF #FFD8AC #ACFFD8
tetradic
#D8ACFF #FFAEAC #D3FFAC #ACFDFF
square
#D8ACFF #FFAEAC #D3FFAC #ACFDFF
split-complementary
#D8ACFF #FDFFAC #ACFFAE
monochromatic
#9E32FF #BB6FFF #D8ACFF #F1E0FF #F1E0FF

Accessibility & contrast

On white

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

On black

11.26
#D8ACFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8ACFF
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8ACFF#FFFFFF#000000##000000
##D8ACFF1.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CBCFF
Deuteranopia (green-blind)
#A6BEFD
Tritanopia (blue-blind)
#D3B8CA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d8acff;
/* rgb */ color: rgb(216, 172, 255);
/* oklch */ color: oklch(81.3% 0.123 308.1);
Tailwind
colors: {
  custom: {
    50: '#e5c5ff',
    500: '#d8acff',
    950: '#000000',
  },
}
SCSS
$custom: #d8acff;
$custom-light: #e5c5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d8acff",
  "rgb": {
    "r": 216,
    "g": 172,
    "b": 255
  },
  "hsl": {
    "h": 271.807,
    "s": 100,
    "l": 83.725
  },
  "oklch": {
    "l": 0.81299,
    "c": 0.12276,
    "h": 308.1
  },
  "luminance": 0.51324
}

Semantic roles & 50–950 ramp

primary
#D8ACFF
secondary
#A4E56A
accent
#E6006C
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#161318
muted
#848286

Preview Lab

Preview with #D8ACFF

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

Preview Lab → · Contrast checker → · Palette generator →

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