#DFAFE2#DFAFE2

#DFAFE2 is a light, moderate purple. Relative luminance 0.518; OKLCH L 81.3% C 0.088 H 324.4°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#DFAFE2
RGBrgb(223, 175, 226)
HSLhsl(296, 47%, 79%)
HSVhsv(296, 23%, 89%)
CMYKcmyk(1.3%, 22.6%, 0%, 11.4%)
CIE-LABlab(77.19, 26.03, -18.91)
CIE-LCHlch(77.19, 32.17, 324.01°)
OKLaboklab(81.35% 0.0712 -0.0509)
OKLCHoklch(81.35% 0.088 324.4)
XYZxyz(59.4872, 51.8403, 78.8093)
Luminance0.5184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFAFE2 #B2E2AF
analogous
#C5AFE2 #DFAFE2 #E2AFCB
triadic
#DFAFE2 #E2DFAF #AFE2DF
tetradic
#DFAFE2 #E2C5AF #B2E2AF #AFCBE2
square
#DFAFE2 #E2C5AF #B2E2AF #AFCBE2
split-complementary
#DFAFE2 #CBE2AF #AFE2C5
monochromatic
#BB55C1 #CD82D2 #DFAFE2 #F1DCF2 #F6E9F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFAFE2#FFFFFF#000000##000000
##DFAFE21.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)
#ABBBE4
Deuteranopia (green-blind)
#B6C1E0
Tritanopia (blue-blind)
#E2B3C1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #dfafe2;
/* rgb */ color: rgb(223, 175, 226);
/* oklch */ color: oklch(81.3% 0.088 324.4);
Tailwind
colors: {
  custom: {
    50: '#e9c7eb',
    500: '#dfafe2',
    950: '#000000',
  },
}
SCSS
$custom: #dfafe2;
$custom-light: #e9c7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#dfafe2",
  "rgb": {
    "r": 223,
    "g": 175,
    "b": 226
  },
  "hsl": {
    "h": 296.471,
    "s": 46.789,
    "l": 78.627
  },
  "oklch": {
    "l": 0.81346,
    "c": 0.08757,
    "h": 324.4
  },
  "luminance": 0.51839
}

Semantic roles & 50–950 ramp

primary
#DFAFE2
secondary
#7EBB7A
accent
#BA2B34
background
#FEFDFE
surface
#FDF9FD
border
#D5D2D5
text
#161316
muted
#848284

Preview Lab

Preview with #DFAFE2

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

Preview Lab → · Contrast checker → · Palette generator →

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