#DF7FD9#DF7FD9

#DF7FD9 is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.1% C 0.163 H 329.4°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#DF7FD9
RGBrgb(223, 127, 217)
HSLhsl(304, 60%, 69%)
HSVhsv(304, 43%, 87%)
CMYKcmyk(0%, 43%, 2.7%, 12.5%)
CIE-LABlab(66.43, 49.80, -30.41)
CIE-LCHlch(66.43, 58.35, 328.59°)
OKLaboklab(73.08% 0.1399 -0.0828)
OKLCHoklch(73.08% 0.163 329.4)
XYZxyz(50.5445, 35.8791, 69.8952)
Luminance0.3588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FD9 #7FDF85
analogous
#B57FDF #DF7FD9 #DF7FA9
triadic
#DF7FD9 #D9DF7F #7FD9DF
tetradic
#DF7FD9 #DFB57F #7FDF85 #7FA9DF
square
#DF7FD9 #DFB57F #7FDF85 #7FA9DF
split-complementary
#DF7FD9 #A9DF7F #7FDFB5
monochromatic
#B62EAE #D34ECA #DF7FD9 #EBB0E8 #F7E1F6

Accessibility & contrast

On white

2.57
#DF7FD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#DF7FD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7FD9
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7FD9#FFFFFF#000000##000000
##DF7FD91.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A99DC
Deuteranopia (green-blind)
#94A6D6
Tritanopia (blue-blind)
#E587A2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #df7fd9;
/* rgb */ color: rgb(223, 127, 217);
/* oklch */ color: oklch(73.1% 0.163 329.4);
Tailwind
colors: {
  custom: {
    50: '#eba7e5',
    500: '#df7fd9',
    950: '#000000',
  },
}
SCSS
$custom: #df7fd9;
$custom-light: #eba7e5;
$custom-dark: #000000;
JSON
{
  "hex": "#df7fd9",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 217
  },
  "hsl": {
    "h": 303.75,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73083,
    "c": 0.16259,
    "h": 329.4
  },
  "luminance": 0.35876
}

Semantic roles & 50–950 ramp

primary
#DF7FD9
secondary
#CFEBD0
accent
#C8281E
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#161015
muted
#847F84

Preview Lab

Preview with #DF7FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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