#D4ACFA#D4ACFA

#D4ACFA is a light, moderate violet. Relative luminance 0.504; OKLCH L 80.7% C 0.115 H 307.4°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#D4ACFA
RGBrgb(212, 172, 250)
HSLhsl(271, 89%, 83%)
HSVhsv(271, 31%, 98%)
CMYKcmyk(15.2%, 31.2%, 0%, 2%)
CIE-LABlab(76.32, 28.98, -33.30)
CIE-LCHlch(76.32, 44.14, 311.03°)
OKLaboklab(80.72% 0.0701 -0.0915)
OKLCHoklch(80.72% 0.115 307.4)
XYZxyz(59.1560, 50.4047, 97.0366)
Luminance0.5040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4ACFA #D2FAAC
analogous
#ADACFA #D4ACFA #FAACF9
triadic
#D4ACFA #FAD4AC #ACFAD4
tetradic
#D4ACFA #FAADAC #D2FAAC #ACF9FA
square
#D4ACFA #FAADAC #D2FAAC #ACF9FA
split-complementary
#D4ACFA #F9FAAC #ACFAAD
monochromatic
#9839F3 #B672F7 #D4ACFA #F0E2FD #F0E2FD

Accessibility & contrast

On white

1.90
#D4ACFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#D4ACFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4ACFA
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4ACFA#FFFFFF#000000##000000
##D4ACFA1.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DBBFD
Deuteranopia (green-blind)
#A6BDF8
Tritanopia (blue-blind)
#CFB7C8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d4acfa;
/* rgb */ color: rgb(212, 172, 250);
/* oklch */ color: oklch(80.7% 0.115 307.4);
Tailwind
colors: {
  custom: {
    50: '#e2c5fc',
    500: '#d4acfa',
    950: '#000000',
  },
}
SCSS
$custom: #d4acfa;
$custom-light: #e2c5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d4acfa",
  "rgb": {
    "r": 212,
    "g": 172,
    "b": 250
  },
  "hsl": {
    "h": 270.769,
    "s": 88.636,
    "l": 82.745
  },
  "oklch": {
    "l": 0.80724,
    "c": 0.11526,
    "h": 307.4
  },
  "luminance": 0.50404
}

Semantic roles & 50–950 ramp

primary
#D4ACFA
secondary
#A4DD6D
accent
#E50070
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #D4ACFA

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

Preview Lab → · Contrast checker → · Palette generator →

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