#D4ACFC#D4ACFC

#D4ACFC is a light, moderate violet. Relative luminance 0.505; OKLCH L 80.8% C 0.118 H 306.8°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#D4ACFC
RGBrgb(212, 172, 252)
HSLhsl(270, 93%, 83%)
HSVhsv(270, 32%, 99%)
CMYKcmyk(15.9%, 31.7%, 0%, 1.2%)
CIE-LABlab(76.39, 29.40, -34.26)
CIE-LCHlch(76.39, 45.15, 310.64°)
OKLaboklab(80.81% 0.0706 -0.0943)
OKLCHoklch(80.81% 0.118 306.8)
XYZxyz(59.4712, 50.5308, 98.6970)
Luminance0.5053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4ACFC #D4FCAC
analogous
#ACACFC #D4ACFC #FCACFC
triadic
#D4ACFC #FCD4AC #ACFCD4
tetradic
#D4ACFC #FCACAC #D4FCAC #ACFCFC
square
#D4ACFC #FCACAC #D4FCAC #ACFCFC
split-complementary
#D4ACFC #FCFCAC #ACFCAC
monochromatic
#9736F8 #B571FA #D4ACFC #F0E1FE #F0E1FE

Accessibility & contrast

On white

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

On black

11.11
#D4ACFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4ACFC
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4ACFC#FFFFFF#000000##000000
##D4ACFC1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DBBFF
Deuteranopia (green-blind)
#A5BDFA
Tritanopia (blue-blind)
#CFB7C9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d4acfc;
/* rgb */ color: rgb(212, 172, 252);
/* oklch */ color: oklch(80.8% 0.118 306.8);
Tailwind
colors: {
  custom: {
    50: '#e2c5fd',
    500: '#d4acfc',
    950: '#000000',
  },
}
SCSS
$custom: #d4acfc;
$custom-light: #e2c5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d4acfc",
  "rgb": {
    "r": 212,
    "g": 172,
    "b": 252
  },
  "hsl": {
    "h": 270,
    "s": 93.023,
    "l": 83.137
  },
  "oklch": {
    "l": 0.80808,
    "c": 0.11774,
    "h": 306.8
  },
  "luminance": 0.5053
}

Semantic roles & 50–950 ramp

primary
#D4ACFC
secondary
#A6E06C
accent
#E60073
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #D4ACFC

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

Preview Lab → · Contrast checker → · Palette generator →

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