#DF7AF2#DF7AF2

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

Color values

HEX#DF7AF2
RGBrgb(223, 122, 242)
HSLhsl(291, 82%, 71%)
HSVhsv(291, 50%, 95%)
CMYKcmyk(7.9%, 49.6%, 0%, 5.1%)
CIE-LABlab(66.54, 56.86, -44.08)
CIE-LCHlch(66.54, 71.95, 322.22°)
OKLaboklab(73.51% 0.1511 -0.1219)
OKLCHoklch(73.51% 0.194 321.1)
XYZxyz(53.4161, 36.0201, 88.1261)
Luminance0.3602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7AF2 #8DF27A
analogous
#A37AF2 #DF7AF2 #F27AC9
triadic
#DF7AF2 #F2DF7A #7AF2DF
tetradic
#DF7AF2 #F2A37A #8DF27A #7AC9F2
square
#DF7AF2 #F2A37A #8DF27A #7AC9F2
split-complementary
#DF7AF2 #C9F27A #7AF2A3
monochromatic
#BD16DC #D242ED #DF7AF2 #ECB2F7 #F8E3FC

Accessibility & contrast

On white

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

On black

8.20
#DF7AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7AF2
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7AF2#FFFFFF#000000##000000
##DF7AF21.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF6
Deuteranopia (green-blind)
#85A6EF
Tritanopia (blue-blind)
#E18AAB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #df7af2;
/* rgb */ color: rgb(223, 122, 242);
/* oklch */ color: oklch(73.5% 0.194 321.1);
Tailwind
colors: {
  custom: {
    50: '#eba4f7',
    500: '#df7af2',
    950: '#000000',
  },
}
SCSS
$custom: #df7af2;
$custom-light: #eba4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#df7af2",
  "rgb": {
    "r": 223,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 290.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73514,
    "c": 0.19415,
    "h": 321.1
  },
  "luminance": 0.36018
}

Semantic roles & 50–950 ramp

primary
#DF7AF2
secondary
#D9F3D4
accent
#DF0729
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DF7AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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