#D4ACFB#D4ACFB

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

Color values

HEX#D4ACFB
RGBrgb(212, 172, 251)
HSLhsl(270, 91%, 83%)
HSVhsv(270, 31%, 98%)
CMYKcmyk(15.5%, 31.5%, 0%, 1.6%)
CIE-LABlab(76.36, 29.19, -33.78)
CIE-LCHlch(76.36, 44.65, 310.83°)
OKLaboklab(80.77% 0.0703 -0.0929)
OKLCHoklch(80.77% 0.116 307.1)
XYZxyz(59.3132, 50.4675, 97.8646)
Luminance0.5047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4ACFB #D3FBAC
analogous
#ACACFB #D4ACFB #FBACFA
triadic
#D4ACFB #FBD4AC #ACFBD4
tetradic
#D4ACFB #FBACAC #D3FBAC #ACFAFB
square
#D4ACFB #FBACAC #D3FBAC #ACFAFB
split-complementary
#D4ACFB #FAFBAC #ACFBAC
monochromatic
#9837F5 #B672F8 #D4ACFB #F0E2FE #F0E2FE

Accessibility & contrast

On white

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

On black

11.09
#D4ACFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4ACFB
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4ACFB#FFFFFF#000000##000000
##D4ACFB1.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4acfb;
/* rgb */ color: rgb(212, 172, 251);
/* oklch */ color: oklch(80.8% 0.116 307.1);
Tailwind
colors: {
  custom: {
    50: '#e2c5fd',
    500: '#d4acfb',
    950: '#000000',
  },
}
SCSS
$custom: #d4acfb;
$custom-light: #e2c5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d4acfb",
  "rgb": {
    "r": 212,
    "g": 172,
    "b": 251
  },
  "hsl": {
    "h": 270.38,
    "s": 90.805,
    "l": 82.941
  },
  "oklch": {
    "l": 0.80766,
    "c": 0.11649,
    "h": 307.1
  },
  "luminance": 0.50467
}

Semantic roles & 50–950 ramp

primary
#D4ACFB
secondary
#A5DE6D
accent
#E60071
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #D4ACFB

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

Preview Lab → · Contrast checker → · Palette generator →

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