#DFABFD#DFABFD

#DFABFD is a light, vivid violet. Relative luminance 0.519; OKLCH L 81.7% C 0.125 H 312.7°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#DFABFD
RGBrgb(223, 171, 253)
HSLhsl(278, 95%, 83%)
HSVhsv(278, 32%, 99%)
CMYKcmyk(11.9%, 32.4%, 0%, 0.8%)
CIE-LABlab(77.22, 33.47, -33.43)
CIE-LCHlch(77.22, 47.31, 315.04°)
OKLaboklab(81.69% 0.0846 -0.0917)
OKLCHoklch(81.69% 0.125 312.7)
XYZxyz(62.7210, 51.9066, 99.6243)
Luminance0.5191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFABFD #C9FDAB
analogous
#B6ABFD #DFABFD #FDABF2
triadic
#DFABFD #FDDFAB #ABFDDF
tetradic
#DFABFD #FDB6AB #C9FDAB #ABF2FD
square
#DFABFD #FDB6AB #C9FDAB #ABF2FD
split-complementary
#DFABFD #F2FDAB #ABFDB6
monochromatic
#B133FA #C86FFC #DFABFD #F4E1FE #F4E1FE

Accessibility & contrast

On white

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

On black

11.38
#DFABFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFABFD
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFABFD#FFFFFF#000000##000000
##DFABFD1.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfabfd;
/* rgb */ color: rgb(223, 171, 253);
/* oklch */ color: oklch(81.7% 0.125 312.7);
Tailwind
colors: {
  custom: {
    50: '#eac4fe',
    500: '#dfabfd',
    950: '#000000',
  },
}
SCSS
$custom: #dfabfd;
$custom-light: #eac4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dfabfd",
  "rgb": {
    "r": 223,
    "g": 171,
    "b": 253
  },
  "hsl": {
    "h": 278.049,
    "s": 95.349,
    "l": 83.137
  },
  "oklch": {
    "l": 0.81693,
    "c": 0.12476,
    "h": 312.7
  },
  "luminance": 0.51906
}

Semantic roles & 50–950 ramp

primary
#DFABFD
secondary
#96E16B
accent
#E60054
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161318
muted
#848286

Preview Lab

Preview with #DFABFD

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

Preview Lab → · Contrast checker → · Palette generator →

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