#DFAFE7#DFAFE7

#DFAFE7 is a light, moderate purple. Relative luminance 0.521; OKLCH L 81.5% C 0.093 H 321.6°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#DFAFE7
RGBrgb(223, 175, 231)
HSLhsl(291, 54%, 80%)
HSVhsv(291, 24%, 91%)
CMYKcmyk(3.5%, 24.2%, 0%, 9.4%)
CIE-LABlab(77.35, 26.98, -21.36)
CIE-LCHlch(77.35, 34.41, 321.62°)
OKLaboklab(81.53% 0.0728 -0.0578)
OKLCHoklch(81.53% 0.093 321.6)
XYZxyz(60.1833, 52.1188, 82.4754)
Luminance0.5212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFAFE7 #B7E7AF
analogous
#C3AFE7 #DFAFE7 #E7AFD3
triadic
#DFAFE7 #E7DFAF #AFE7DF
tetradic
#DFAFE7 #E7C3AF #B7E7AF #AFD3E7
square
#DFAFE7 #E7C3AF #B7E7AF #AFD3E7
split-complementary
#DFAFE7 #D3E7AF #AFE7C3
monochromatic
#B951CB #CC80D9 #DFAFE7 #F2DEF5 #F6E7F8

Accessibility & contrast

On white

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

On black

11.42
#DFAFE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFAFE7
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFAFE7#FFFFFF#000000##000000
##DFAFE71.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AABCE9
Deuteranopia (green-blind)
#B4C1E5
Tritanopia (blue-blind)
#E1B4C3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #dfafe7;
/* rgb */ color: rgb(223, 175, 231);
/* oklch */ color: oklch(81.5% 0.093 321.6);
Tailwind
colors: {
  custom: {
    50: '#e9c7ee',
    500: '#dfafe7',
    950: '#000000',
  },
}
SCSS
$custom: #dfafe7;
$custom-light: #e9c7ee;
$custom-dark: #000000;
JSON
{
  "hex": "#dfafe7",
  "rgb": {
    "r": 223,
    "g": 175,
    "b": 231
  },
  "hsl": {
    "h": 291.429,
    "s": 53.846,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81529,
    "c": 0.09289,
    "h": 321.6
  },
  "luminance": 0.52117
}

Semantic roles & 50–950 ramp

primary
#DFAFE7
secondary
#83C278
accent
#C1243B
background
#FEFDFF
surface
#FDF9FE
border
#D5D2D6
text
#161316
muted
#848285

Preview Lab

Preview with #DFAFE7

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

Preview Lab → · Contrast checker → · Palette generator →

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