#DFAAFE#DFAAFE

#DFAAFE is a light, vivid violet. Relative luminance 0.516; OKLCH L 81.6% C 0.128 H 312.5°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#DFAAFE
RGBrgb(223, 170, 254)
HSLhsl(278, 98%, 83%)
HSVhsv(278, 33%, 100%)
CMYKcmyk(12.2%, 33.1%, 0%, 0.4%)
CIE-LABlab(77.04, 34.22, -34.26)
CIE-LCHlch(77.04, 48.42, 314.97°)
OKLaboklab(81.56% 0.0862 -0.0941)
OKLCHoklch(81.56% 0.128 312.5)
XYZxyz(62.6926, 51.5942, 100.4028)
Luminance0.5159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFAAFE #C9FEAA
analogous
#B5AAFE #DFAAFE #FEAAF3
triadic
#DFAAFE #FEDFAA #AAFEDF
tetradic
#DFAAFE #FEB5AA #C9FEAA #AAF3FE
square
#DFAAFE #FEB5AA #C9FEAA #AAF3FE
split-complementary
#DFAAFE #F3FEAA #AAFEB5
monochromatic
#B131FD #C86EFD #DFAAFE #F4E1FF #F4E1FF

Accessibility & contrast

On white

1.86
#DFAAFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#DFAAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFAAFE
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFAAFE#FFFFFF#000000##000000
##DFAAFE1.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CBBFF
Deuteranopia (green-blind)
#A8BFFB
Tritanopia (blue-blind)
#DCB5C9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #dfaafe;
/* rgb */ color: rgb(223, 170, 254);
/* oklch */ color: oklch(81.6% 0.128 312.5);
Tailwind
colors: {
  custom: {
    50: '#eac4ff',
    500: '#dfaafe',
    950: '#000000',
  },
}
SCSS
$custom: #dfaafe;
$custom-light: #eac4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dfaafe",
  "rgb": {
    "r": 223,
    "g": 170,
    "b": 254
  },
  "hsl": {
    "h": 277.857,
    "s": 97.674,
    "l": 83.137
  },
  "oklch": {
    "l": 0.81563,
    "c": 0.12761,
    "h": 312.5
  },
  "luminance": 0.51593
}

Semantic roles & 50–950 ramp

primary
#DFAAFE
secondary
#96E369
accent
#E60055
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161218
muted
#848286

Preview Lab

Preview with #DFAAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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