#DFACF5#DFACF5

#DFACF5 is a light, moderate purple. Relative luminance 0.518; OKLCH L 81.5% C 0.114 H 315.5°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#DFACF5
RGBrgb(223, 172, 245)
HSLhsl(282, 78%, 82%)
HSVhsv(282, 30%, 96%)
CMYKcmyk(9%, 29.8%, 0%, 3.9%)
CIE-LABlab(77.15, 31.32, -29.23)
CIE-LCHlch(77.15, 42.84, 316.98°)
OKLaboklab(81.54% 0.0811 -0.0798)
OKLCHoklch(81.54% 0.114 315.5)
XYZxyz(61.6628, 51.7867, 93.1160)
Luminance0.5179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFACF5 #C2F5AC
analogous
#BBACF5 #DFACF5 #F5ACE7
triadic
#DFACF5 #F5DFAC #ACF5DF
tetradic
#DFACF5 #F5BBAC #C2F5AC #ACE7F5
square
#DFACF5 #F5BBAC #C2F5AC #ACE7F5
split-complementary
#DFACF5 #E7F5AC #ACF5BB
monochromatic
#B53FE8 #CA75EE #DFACF5 #F4E3FC #F4E4FC

Accessibility & contrast

On white

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

On black

11.36
#DFACF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFACF5
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFACF5#FFFFFF#000000##000000
##DFACF51.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BBF8
Deuteranopia (green-blind)
#ADC0F3
Tritanopia (blue-blind)
#DEB5C6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #dfacf5;
/* rgb */ color: rgb(223, 172, 245);
/* oklch */ color: oklch(81.5% 0.114 315.5);
Tailwind
colors: {
  custom: {
    50: '#e9c5f8',
    500: '#dfacf5',
    950: '#000000',
  },
}
SCSS
$custom: #dfacf5;
$custom-light: #e9c5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#dfacf5",
  "rgb": {
    "r": 223,
    "g": 172,
    "b": 245
  },
  "hsl": {
    "h": 281.918,
    "s": 78.495,
    "l": 81.765
  },
  "oklch": {
    "l": 0.81539,
    "c": 0.11378,
    "h": 315.5
  },
  "luminance": 0.51786
}

Semantic roles & 50–950 ramp

primary
#DFACF5
secondary
#8ED570
accent
#DB0B49
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161317
muted
#848285

Preview Lab

Preview with #DFACF5

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

Preview Lab → · Contrast checker → · Palette generator →

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