#DFAFE8#DFAFE8

#DFAFE8 is a light, moderate purple. Relative luminance 0.522; OKLCH L 81.6% C 0.094 H 321.0°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#DFAFE8
RGBrgb(223, 175, 232)
HSLhsl(291, 55%, 80%)
HSVhsv(291, 25%, 91%)
CMYKcmyk(3.9%, 24.6%, 0%, 9%)
CIE-LABlab(77.39, 27.17, -21.85)
CIE-LCHlch(77.39, 34.86, 321.19°)
OKLaboklab(81.57% 0.0731 -0.0591)
OKLCHoklch(81.57% 0.094 321)
XYZxyz(60.3250, 52.1754, 83.2213)
Luminance0.5217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFAFE8 #B8E8AF
analogous
#C2AFE8 #DFAFE8 #E8AFD5
triadic
#DFAFE8 #E8DFAF #AFE8DF
tetradic
#DFAFE8 #E8C2AF #B8E8AF #AFD5E8
square
#DFAFE8 #E8C2AF #B8E8AF #AFD5E8
split-complementary
#DFAFE8 #D5E8AF #AFE8C2
monochromatic
#B950CD #CC7FDA #DFAFE8 #F2DFF6 #F5E7F8

Accessibility & contrast

On white

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

On black

11.43
#DFAFE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFAFE8
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFAFE8#FFFFFF#000000##000000
##DFAFE81.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9BCEA
Deuteranopia (green-blind)
#B4C1E6
Tritanopia (blue-blind)
#E1B5C3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #dfafe8;
/* rgb */ color: rgb(223, 175, 232);
/* oklch */ color: oklch(81.6% 0.094 321.0);
Tailwind
colors: {
  custom: {
    50: '#e9c7ef',
    500: '#dfafe8',
    950: '#000000',
  },
}
SCSS
$custom: #dfafe8;
$custom-light: #e9c7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#dfafe8",
  "rgb": {
    "r": 223,
    "g": 175,
    "b": 232
  },
  "hsl": {
    "h": 290.526,
    "s": 55.34,
    "l": 79.804
  },
  "oklch": {
    "l": 0.81566,
    "c": 0.09398,
    "h": 321
  },
  "luminance": 0.52174
}

Semantic roles & 50–950 ramp

primary
#DFAFE8
secondary
#84C378
accent
#C3233C
background
#FEFDFF
surface
#FDF9FE
border
#D5D2D6
text
#161316
muted
#848285

Preview Lab

Preview with #DFAFE8

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

Preview Lab → · Contrast checker → · Palette generator →

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