#DFAAF2#DFAAF2

#DFAAF2 is a light, moderate purple. Relative luminance 0.508; OKLCH L 81.1% C 0.114 H 317.0°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#DFAAF2
RGBrgb(223, 170, 242)
HSLhsl(284, 73%, 81%)
HSVhsv(284, 30%, 95%)
CMYKcmyk(7.9%, 29.8%, 0%, 5.1%)
CIE-LABlab(76.59, 31.80, -28.48)
CIE-LCHlch(76.59, 42.69, 318.16°)
OKLaboklab(81.07% 0.0832 -0.0777)
OKLCHoklch(81.07% 0.114 317)
XYZxyz(60.8308, 50.8495, 90.5976)
Luminance0.5085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFAAF2 #BDF2AA
analogous
#BBAAF2 #DFAAF2 #F2AAE1
triadic
#DFAAF2 #F2DFAA #AAF2DF
tetradic
#DFAAF2 #F2BBAA #BDF2AA #AAE1F2
square
#DFAAF2 #F2BBAA #BDF2AA #AAE1F2
split-complementary
#DFAAF2 #E1F2AA #AAF2BB
monochromatic
#B740E2 #CB75EA #DFAAF2 #F3DFFA #F5E4FB

Accessibility & contrast

On white

1.88
#DFAAF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#DFAAF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFAAF2
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFAAF2#FFFFFF#000000##000000
##DFAAF21.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0BAF5
Deuteranopia (green-blind)
#ACBFF0
Tritanopia (blue-blind)
#DFB2C4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #dfaaf2;
/* rgb */ color: rgb(223, 170, 242);
/* oklch */ color: oklch(81.1% 0.114 317.0);
Tailwind
colors: {
  custom: {
    50: '#e9c4f6',
    500: '#dfaaf2',
    950: '#000000',
  },
}
SCSS
$custom: #dfaaf2;
$custom-light: #e9c4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfaaf2",
  "rgb": {
    "r": 223,
    "g": 170,
    "b": 242
  },
  "hsl": {
    "h": 284.167,
    "s": 73.469,
    "l": 80.784
  },
  "oklch": {
    "l": 0.81072,
    "c": 0.11382,
    "h": 317
  },
  "luminance": 0.50848
}

Semantic roles & 50–950 ramp

primary
#DFAAF2
secondary
#89D16F
accent
#D61044
background
#FEFDFF
surface
#FDF9FE
border
#D5D2D6
text
#161217
muted
#848285

Preview Lab

Preview with #DFAAF2

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

Preview Lab → · Contrast checker → · Palette generator →

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