#DFABFC#DFABFC

#DFABFC is a light, vivid violet. Relative luminance 0.518; OKLCH L 81.7% C 0.124 H 313.0°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#DFABFC
RGBrgb(223, 171, 252)
HSLhsl(279, 93%, 83%)
HSVhsv(279, 32%, 99%)
CMYKcmyk(11.5%, 32.1%, 0%, 1.2%)
CIE-LABlab(77.19, 33.27, -32.95)
CIE-LCHlch(77.19, 46.83, 315.28°)
OKLaboklab(81.65% 0.0843 -0.0903)
OKLCHoklch(81.65% 0.124 313)
XYZxyz(62.5621, 51.8431, 98.7876)
Luminance0.5184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFABFC #C8FCAB
analogous
#B7ABFC #DFABFC #FCABF0
triadic
#DFABFC #FCDFAB #ABFCDF
tetradic
#DFABFC #FCB7AB #C8FCAB #ABF0FC
square
#DFABFC #FCB7AB #C8FCAB #ABF0FC
split-complementary
#DFABFC #F0FCAB #ABFCB7
monochromatic
#B235F8 #C870FA #DFABFC #F4E1FE #F4E1FE

Accessibility & contrast

On white

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

On black

11.37
#DFABFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFABFC
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFABFC#FFFFFF#000000##000000
##DFABFC1.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfabfc;
/* rgb */ color: rgb(223, 171, 252);
/* oklch */ color: oklch(81.7% 0.124 313.0);
Tailwind
colors: {
  custom: {
    50: '#eac4fd',
    500: '#dfabfc',
    950: '#000000',
  },
}
SCSS
$custom: #dfabfc;
$custom-light: #eac4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dfabfc",
  "rgb": {
    "r": 223,
    "g": 171,
    "b": 252
  },
  "hsl": {
    "h": 278.519,
    "s": 93.103,
    "l": 82.941
  },
  "oklch": {
    "l": 0.81651,
    "c": 0.12358,
    "h": 313
  },
  "luminance": 0.51842
}

Semantic roles & 50–950 ramp

primary
#DFABFC
secondary
#95E06B
accent
#E60052
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161317
muted
#848285

Preview Lab

Preview with #DFABFC

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

Preview Lab → · Contrast checker → · Palette generator →

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