#DFACFD#DFACFD

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

Color values

HEX#DFACFD
RGBrgb(223, 172, 253)
HSLhsl(278, 95%, 83%)
HSVhsv(278, 32%, 99%)
CMYKcmyk(11.9%, 32%, 0%, 0.8%)
CIE-LABlab(77.45, 32.94, -33.08)
CIE-LCHlch(77.45, 46.68, 314.88°)
OKLaboklab(81.86% 0.0831 -0.0907)
OKLCHoklch(81.86% 0.123 312.5)
XYZxyz(62.9106, 52.2858, 99.6875)
Luminance0.5229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFACFD #CAFDAC
analogous
#B6ACFD #DFACFD #FDACF2
triadic
#DFACFD #FDDFAC #ACFDDF
tetradic
#DFACFD #FDB6AC #CAFDAC #ACF2FD
square
#DFACFD #FDB6AC #CAFDAC #ACF2FD
split-complementary
#DFACFD #F2FDAC #ACFDB6
monochromatic
#B134FA #C870FC #DFACFD #F3E1FE #F3E1FE

Accessibility & contrast

On white

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

On black

11.46
#DFACFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFACFD
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFACFD#FFFFFF#000000##000000
##DFACFD1.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBDFF
Deuteranopia (green-blind)
#AAC1FB
Tritanopia (blue-blind)
#DCB7C9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #dfacfd;
/* rgb */ color: rgb(223, 172, 253);
/* oklch */ color: oklch(81.9% 0.123 312.5);
Tailwind
colors: {
  custom: {
    50: '#eac5fe',
    500: '#dfacfd',
    950: '#000000',
  },
}
SCSS
$custom: #dfacfd;
$custom-light: #eac5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dfacfd",
  "rgb": {
    "r": 223,
    "g": 172,
    "b": 253
  },
  "hsl": {
    "h": 277.778,
    "s": 95.294,
    "l": 83.333
  },
  "oklch": {
    "l": 0.81865,
    "c": 0.12306,
    "h": 312.5
  },
  "luminance": 0.52285
}

Semantic roles & 50–950 ramp

primary
#DFACFD
secondary
#97E26C
accent
#E60055
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161318
muted
#848286

Preview Lab

Preview with #DFACFD

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

Preview Lab → · Contrast checker → · Palette generator →

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