#DFAFDF#DFAFDF

#DFAFDF is a light, moderate purple. Relative luminance 0.517; OKLCH L 81.2% C 0.084 H 326.3°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#DFAFDF
RGBrgb(223, 175, 223)
HSLhsl(300, 43%, 78%)
HSVhsv(300, 22%, 87%)
CMYKcmyk(0%, 21.5%, 0%, 12.5%)
CIE-LABlab(77.09, 25.47, -17.43)
CIE-LCHlch(77.09, 30.87, 325.62°)
OKLaboklab(81.24% 0.0703 -0.0468)
OKLCHoklch(81.24% 0.084 326.3)
XYZxyz(59.0792, 51.6771, 76.6602)
Luminance0.5168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFAFDF #AFDFAF
analogous
#C7AFDF #DFAFDF #DFAFC7
triadic
#DFAFDF #DFDFAF #AFDFDF
tetradic
#DFAFDF #DFC7AF #AFDFAF #AFC7DF
square
#DFAFDF #DFC7AF #AFDFAF #AFC7DF
split-complementary
#DFAFDF #C7DFAF #AFDFC7
monochromatic
#BC58BC #CE83CE #DFAFDF #F0DBF0 #F6E9F6

Accessibility & contrast

On white

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

On black

11.34
#DFAFDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFAFDF
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFAFDF#FFFFFF#000000##000000
##DFAFDF1.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACBBE1
Deuteranopia (green-blind)
#B7C0DD
Tritanopia (blue-blind)
#E2B3C0
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #dfafdf;
/* rgb */ color: rgb(223, 175, 223);
/* oklch */ color: oklch(81.2% 0.084 326.3);
Tailwind
colors: {
  custom: {
    50: '#e9c7e9',
    500: '#dfafdf',
    950: '#000000',
  },
}
SCSS
$custom: #dfafdf;
$custom-light: #e9c7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#dfafdf",
  "rgb": {
    "r": 223,
    "g": 175,
    "b": 223
  },
  "hsl": {
    "h": 300,
    "s": 42.857,
    "l": 78.039
  },
  "oklch": {
    "l": 0.81238,
    "c": 0.08448,
    "h": 326.3
  },
  "luminance": 0.51676
}

Semantic roles & 50–950 ramp

primary
#DFAFDF
secondary
#7BB87B
accent
#B63030
background
#FEFDFE
surface
#FDF9FC
border
#D5D2D5
text
#161316
muted
#848284

Preview Lab

Preview with #DFAFDF

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

Preview Lab → · Contrast checker → · Palette generator →

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