#DFACFB#DFACFB

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

Color values

HEX#DFACFB
RGBrgb(223, 172, 251)
HSLhsl(279, 91%, 83%)
HSVhsv(279, 31%, 98%)
CMYKcmyk(11.2%, 31.5%, 0%, 1.6%)
CIE-LABlab(77.38, 32.53, -32.12)
CIE-LCHlch(77.38, 45.72, 315.36°)
OKLaboklab(81.78% 0.0826 -0.088)
OKLCHoklch(81.78% 0.121 313.2)
XYZxyz(62.5937, 52.1591, 98.0184)
Luminance0.5216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFACFB #C8FBAC
analogous
#B7ACFB #DFACFB #FBACF0
triadic
#DFACFB #FBDFAC #ACFBDF
tetradic
#DFACFB #FBB7AC #C8FBAC #ACF0FB
square
#DFACFB #FBB7AC #C8FBAC #ACF0FB
split-complementary
#DFACFB #F0FBAC #ACFBB7
monochromatic
#B237F5 #C872F8 #DFACFB #F4E2FE #F4E2FE

Accessibility & contrast

On white

1.84
#DFACFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#DFACFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFACFB
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFACFB#FFFFFF#000000##000000
##DFACFB1.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfacfb;
/* rgb */ color: rgb(223, 172, 251);
/* oklch */ color: oklch(81.8% 0.121 313.2);
Tailwind
colors: {
  custom: {
    50: '#eac5fd',
    500: '#dfacfb',
    950: '#000000',
  },
}
SCSS
$custom: #dfacfb;
$custom-light: #eac5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dfacfb",
  "rgb": {
    "r": 223,
    "g": 172,
    "b": 251
  },
  "hsl": {
    "h": 278.734,
    "s": 90.805,
    "l": 82.941
  },
  "oklch": {
    "l": 0.81783,
    "c": 0.12072,
    "h": 313.2
  },
  "luminance": 0.52158
}

Semantic roles & 50–950 ramp

primary
#DFACFB
secondary
#95DE6D
accent
#E60051
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161317
muted
#848285

Preview Lab

Preview with #DFACFB

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

Preview Lab → · Contrast checker → · Palette generator →

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