#DFABFF#DFABFF

#DFABFF is a light, vivid violet. Relative luminance 0.520; OKLCH L 81.8% C 0.127 H 312.0°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#DFABFF
RGBrgb(223, 171, 255)
HSLhsl(277, 100%, 84%)
HSVhsv(277, 33%, 100%)
CMYKcmyk(12.5%, 32.9%, 0%, 0%)
CIE-LABlab(77.30, 33.88, -34.39)
CIE-LCHlch(77.30, 48.28, 314.58°)
OKLaboklab(81.78% 0.0851 -0.0944)
OKLCHoklch(81.78% 0.127 312)
XYZxyz(63.0413, 52.0347, 101.3111)
Luminance0.5203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFABFF #CBFFAB
analogous
#B5ABFF #DFABFF #FFABF5
triadic
#DFABFF #FFDFAB #ABFFDF
tetradic
#DFABFF #FFB5AB #CBFFAB #ABF5FF
square
#DFABFF #FFB5AB #CBFFAB #ABF5FF
split-complementary
#DFABFF #F5FFAB #ABFFB5
monochromatic
#B031FF #C86EFF #DFABFF #F3E0FF #F3E0FF

Accessibility & contrast

On white

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

On black

11.41
#DFABFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFABFF
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFABFF#FFFFFF#000000##000000
##DFABFF1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DBCFF
Deuteranopia (green-blind)
#A8C0FC
Tritanopia (blue-blind)
#DCB6CA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #dfabff;
/* rgb */ color: rgb(223, 171, 255);
/* oklch */ color: oklch(81.8% 0.127 312.0);
Tailwind
colors: {
  custom: {
    50: '#eac4ff',
    500: '#dfabff',
    950: '#000000',
  },
}
SCSS
$custom: #dfabff;
$custom-light: #eac4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dfabff",
  "rgb": {
    "r": 223,
    "g": 171,
    "b": 255
  },
  "hsl": {
    "h": 277.143,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.81776,
    "c": 0.12709,
    "h": 312
  },
  "luminance": 0.52034
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFABFF

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

Preview Lab → · Contrast checker → · Palette generator →

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