#DF7AF9#DF7AF9

#DF7AF9 is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 73.9% C 0.201 H 319.1°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#DF7AF9
RGBrgb(223, 122, 249)
HSLhsl(288, 91%, 73%)
HSVhsv(288, 51%, 98%)
CMYKcmyk(10.4%, 51%, 0%, 2.4%)
CIE-LABlab(66.86, 58.20, -47.42)
CIE-LCHlch(66.86, 75.07, 320.83°)
OKLaboklab(73.86% 0.1519 -0.1316)
OKLCHoklch(73.86% 0.201 319.1)
XYZxyz(54.4876, 36.4487, 93.7693)
Luminance0.3645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7AF9 #94F97A
analogous
#A07AF9 #DF7AF9 #F97AD3
triadic
#DF7AF9 #F9DF7A #7AF9DF
tetradic
#DF7AF9 #F9A07A #94F97A #7AD3F9
square
#DF7AF9 #F9A07A #94F97A #7AD3F9
split-complementary
#DF7AF9 #D3F97A #7AF9A0
monochromatic
#BF0BEE #D13FF6 #DF7AF9 #EDB5FC #F8E2FE

Accessibility & contrast

On white

2.53
#DF7AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#DF7AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7AF9
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7AF9#FFFFFF#000000##000000
##DF7AF91.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFD
Deuteranopia (green-blind)
#82A6F6
Tritanopia (blue-blind)
#E08CAE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #df7af9;
/* rgb */ color: rgb(223, 122, 249);
/* oklch */ color: oklch(73.9% 0.201 319.1);
Tailwind
colors: {
  custom: {
    50: '#eba4fc',
    500: '#df7af9',
    950: '#000000',
  },
}
SCSS
$custom: #df7af9;
$custom-light: #eba4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#df7af9",
  "rgb": {
    "r": 223,
    "g": 122,
    "b": 249
  },
  "hsl": {
    "h": 287.717,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73861,
    "c": 0.20097,
    "h": 319.1
  },
  "luminance": 0.36447
}

Semantic roles & 50–950 ramp

primary
#DF7AF9
secondary
#DCF6D5
accent
#E6002F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DF7AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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