#DFACFC#DFACFC

#DFACFC is a light, vivid violet. Relative luminance 0.522; OKLCH L 81.8% C 0.122 H 312.8°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#DFACFC
RGBrgb(223, 172, 252)
HSLhsl(278, 93%, 83%)
HSVhsv(278, 32%, 99%)
CMYKcmyk(11.5%, 31.7%, 0%, 1.2%)
CIE-LABlab(77.41, 32.73, -32.60)
CIE-LCHlch(77.41, 46.20, 315.12°)
OKLaboklab(81.82% 0.0829 -0.0894)
OKLCHoklch(81.82% 0.122 312.8)
XYZxyz(62.7517, 52.2223, 98.8508)
Luminance0.5222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFACFC #C9FCAC
analogous
#B7ACFC #DFACFC #FCACF1
triadic
#DFACFC #FCDFAC #ACFCDF
tetradic
#DFACFC #FCB7AC #C9FCAC #ACF1FC
square
#DFACFC #FCB7AC #C9FCAC #ACF1FC
split-complementary
#DFACFC #F1FCAC #ACFCB7
monochromatic
#B136F8 #C871FA #DFACFC #F4E1FE #F4E1FE

Accessibility & contrast

On white

1.83
#DFACFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#DFACFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFACFC
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFACFC#FFFFFF#000000##000000
##DFACFC1.001.8311.4411.44
#FFFFFF1.831.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBCFF
Deuteranopia (green-blind)
#AAC1FA
Tritanopia (blue-blind)
#DDB6C9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #dfacfc;
/* rgb */ color: rgb(223, 172, 252);
/* oklch */ color: oklch(81.8% 0.122 312.8);
Tailwind
colors: {
  custom: {
    50: '#eac5fd',
    500: '#dfacfc',
    950: '#000000',
  },
}
SCSS
$custom: #dfacfc;
$custom-light: #eac5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dfacfc",
  "rgb": {
    "r": 223,
    "g": 172,
    "b": 252
  },
  "hsl": {
    "h": 278.25,
    "s": 93.023,
    "l": 83.137
  },
  "oklch": {
    "l": 0.81824,
    "c": 0.12189,
    "h": 312.8
  },
  "luminance": 0.52221
}

Semantic roles & 50–950 ramp

primary
#DFACFC
secondary
#96E06C
accent
#E60053
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161317
muted
#848285

Preview Lab

Preview with #DFACFC

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

Preview Lab → · Contrast checker → · Palette generator →

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