#DFAFEF#DFAFEF

#DFAFEF is a light, moderate purple. Relative luminance 0.526; OKLCH L 81.8% C 0.102 H 317.5°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#DFAFEF
RGBrgb(223, 175, 239)
HSLhsl(285, 67%, 81%)
HSVhsv(285, 27%, 94%)
CMYKcmyk(6.7%, 26.8%, 0%, 6.3%)
CIE-LABlab(77.63, 28.52, -25.27)
CIE-LCHlch(77.63, 38.10, 318.46°)
OKLaboklab(81.83% 0.0751 -0.0687)
OKLCHoklch(81.83% 0.102 317.5)
XYZxyz(61.3391, 52.5811, 88.5625)
Luminance0.5258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFAFEF #BFEFAF
analogous
#BFAFEF #DFAFEF #EFAFDF
triadic
#DFAFEF #EFDFAF #AFEFDF
tetradic
#DFAFEF #EFBFAF #BFEFAF #AFDFEF
square
#DFAFEF #EFBFAF #BFEFAF #AFDFEF
split-complementary
#DFAFEF #DFEFAF #AFEFBF
monochromatic
#B649DB #CB7CE5 #DFAFEF #F3E2F9 #F5E5FA

Accessibility & contrast

On white

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

On black

11.52
#DFAFEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFAFEF
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFAFEF#FFFFFF#000000##000000
##DFAFEF1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7BDF2
Deuteranopia (green-blind)
#B2C1ED
Tritanopia (blue-blind)
#DFB6C6
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #dfafef;
/* rgb */ color: rgb(223, 175, 239);
/* oklch */ color: oklch(81.8% 0.102 317.5);
Tailwind
colors: {
  custom: {
    50: '#e9c7f4',
    500: '#dfafef',
    950: '#000000',
  },
}
SCSS
$custom: #dfafef;
$custom-light: #e9c7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#dfafef",
  "rgb": {
    "r": 223,
    "g": 175,
    "b": 239
  },
  "hsl": {
    "h": 285,
    "s": 66.667,
    "l": 81.176
  },
  "oklch": {
    "l": 0.81831,
    "c": 0.10175,
    "h": 317.5
  },
  "luminance": 0.5258
}

Semantic roles & 50–950 ramp

primary
#DFAFEF
secondary
#8BCD75
accent
#CF1745
background
#FEFDFF
surface
#FDF9FE
border
#D5D2D6
text
#161317
muted
#848285

Preview Lab

Preview with #DFAFEF

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

Preview Lab → · Contrast checker → · Palette generator →

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