#DFACFE#DFACFE

#DFACFE is a light, vivid violet. Relative luminance 0.523; OKLCH L 81.9% C 0.124 H 312.2°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#DFACFE
RGBrgb(223, 172, 254)
HSLhsl(277, 98%, 84%)
HSVhsv(277, 32%, 100%)
CMYKcmyk(12.2%, 32.3%, 0%, 0.4%)
CIE-LABlab(77.49, 33.14, -33.56)
CIE-LCHlch(77.49, 47.17, 314.64°)
OKLaboklab(81.91% 0.0834 -0.0921)
OKLCHoklch(81.91% 0.124 312.2)
XYZxyz(63.0703, 52.3497, 100.5287)
Luminance0.5235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFACFE #CBFEAC
analogous
#B6ACFE #DFACFE #FEACF4
triadic
#DFACFE #FEDFAC #ACFEDF
tetradic
#DFACFE #FEB6AC #CBFEAC #ACF4FE
square
#DFACFE #FEB6AC #CBFEAC #ACF4FE
split-complementary
#DFACFE #F4FEAC #ACFEB6
monochromatic
#B033FD #C870FD #DFACFE #F3E1FF #F3E1FF

Accessibility & contrast

On white

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

On black

11.47
#DFACFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFACFE
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFACFE#FFFFFF#000000##000000
##DFACFE1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EBDFF
Deuteranopia (green-blind)
#AAC1FC
Tritanopia (blue-blind)
#DCB7CA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #dfacfe;
/* rgb */ color: rgb(223, 172, 254);
/* oklch */ color: oklch(81.9% 0.124 312.2);
Tailwind
colors: {
  custom: {
    50: '#eac5ff',
    500: '#dfacfe',
    950: '#000000',
  },
}
SCSS
$custom: #dfacfe;
$custom-light: #eac5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dfacfe",
  "rgb": {
    "r": 223,
    "g": 172,
    "b": 254
  },
  "hsl": {
    "h": 277.317,
    "s": 97.619,
    "l": 83.529
  },
  "oklch": {
    "l": 0.81907,
    "c": 0.12424,
    "h": 312.2
  },
  "luminance": 0.52349
}

Semantic roles & 50–950 ramp

primary
#DFACFE
secondary
#98E36B
accent
#E60057
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161318
muted
#848286

Preview Lab

Preview with #DFACFE

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

Preview Lab → · Contrast checker → · Palette generator →

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