#DF7AF1#DF7AF1

#DF7AF1 is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.5% C 0.193 H 321.4°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#DF7AF1
RGBrgb(223, 122, 241)
HSLhsl(291, 81%, 71%)
HSVhsv(291, 49%, 95%)
CMYKcmyk(7.5%, 49.4%, 0%, 5.5%)
CIE-LABlab(66.49, 56.67, -43.60)
CIE-LCHlch(66.49, 71.51, 322.43°)
OKLaboklab(73.47% 0.151 -0.1205)
OKLCHoklch(73.47% 0.193 321.4)
XYZxyz(53.2663, 35.9602, 87.3372)
Luminance0.3596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7AF1 #8CF17A
analogous
#A37AF1 #DF7AF1 #F17AC7
triadic
#DF7AF1 #F1DF7A #7AF1DF
tetradic
#DF7AF1 #F1A37A #8CF17A #7AC7F1
square
#DF7AF1 #F1A37A #8CF17A #7AC7F1
split-complementary
#DF7AF1 #C7F17A #7AF1A3
monochromatic
#BC17DA #D243EB #DF7AF1 #ECB1F7 #F8E3FC

Accessibility & contrast

On white

2.56
#DF7AF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#DF7AF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7AF1
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7AF1#FFFFFF#000000##000000
##DF7AF11.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#679AF5
Deuteranopia (green-blind)
#86A6EE
Tritanopia (blue-blind)
#E18AAB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #df7af1;
/* rgb */ color: rgb(223, 122, 241);
/* oklch */ color: oklch(73.5% 0.193 321.4);
Tailwind
colors: {
  custom: {
    50: '#eba4f6',
    500: '#df7af1',
    950: '#000000',
  },
}
SCSS
$custom: #df7af1;
$custom-light: #eba4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#df7af1",
  "rgb": {
    "r": 223,
    "g": 122,
    "b": 241
  },
  "hsl": {
    "h": 290.924,
    "s": 80.952,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73465,
    "c": 0.19319,
    "h": 321.4
  },
  "luminance": 0.35958
}

Semantic roles & 50–950 ramp

primary
#DF7AF1
secondary
#D8F3D4
accent
#DD0828
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DF7AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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