#DFAFF1#DFAFF1

#DFAFF1 is a light, moderate purple. Relative luminance 0.527; OKLCH L 81.9% C 0.104 H 316.6°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#DFAFF1
RGBrgb(223, 175, 241)
HSLhsl(284, 70%, 82%)
HSVhsv(284, 27%, 95%)
CMYKcmyk(7.5%, 27.4%, 0%, 5.5%)
CIE-LABlab(77.70, 28.91, -26.24)
CIE-LCHlch(77.70, 39.04, 317.78°)
OKLaboklab(81.91% 0.0756 -0.0714)
OKLCHoklch(81.91% 0.104 316.6)
XYZxyz(61.6362, 52.6999, 90.1272)
Luminance0.5270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFAFF1 #C1F1AF
analogous
#BEAFF1 #DFAFF1 #F1AFE2
triadic
#DFAFF1 #F1DFAF #AFF1DF
tetradic
#DFAFF1 #F1BEAF #C1F1AF #AFE2F1
square
#DFAFF1 #F1BEAF #C1F1AF #AFE2F1
split-complementary
#DFAFF1 #E2F1AF #AFF1BE
monochromatic
#B547DF #CA7BE8 #DFAFF1 #F4E3FA #F5E5FA

Accessibility & contrast

On white

1.82
#DFAFF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#DFAFF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFAFF1
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFAFF1#FFFFFF#000000##000000
##DFAFF11.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6BDF4
Deuteranopia (green-blind)
#B1C2EF
Tritanopia (blue-blind)
#DFB7C6
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #dfaff1;
/* rgb */ color: rgb(223, 175, 241);
/* oklch */ color: oklch(81.9% 0.104 316.6);
Tailwind
colors: {
  custom: {
    50: '#e9c7f5',
    500: '#dfaff1',
    950: '#000000',
  },
}
SCSS
$custom: #dfaff1;
$custom-light: #e9c7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfaff1",
  "rgb": {
    "r": 223,
    "g": 175,
    "b": 241
  },
  "hsl": {
    "h": 283.636,
    "s": 70.213,
    "l": 81.569
  },
  "oklch": {
    "l": 0.81908,
    "c": 0.10402,
    "h": 316.6
  },
  "luminance": 0.52699
}

Semantic roles & 50–950 ramp

primary
#DFAFF1
secondary
#8DD074
accent
#D21347
background
#FEFDFF
surface
#FDF9FE
border
#D5D2D6
text
#161317
muted
#848285

Preview Lab

Preview with #DFAFF1

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

Preview Lab → · Contrast checker → · Palette generator →

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