#DF7DD9#DF7DD9

#DF7DD9 is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.8% C 0.166 H 329.4°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#DF7DD9
RGBrgb(223, 125, 217)
HSLhsl(304, 60%, 68%)
HSVhsv(304, 44%, 87%)
CMYKcmyk(0%, 43.9%, 2.7%, 12.5%)
CIE-LABlab(66.03, 50.81, -31.02)
CIE-LCHlch(66.03, 59.53, 328.59°)
OKLaboklab(72.79% 0.1428 -0.0845)
OKLCHoklch(72.79% 0.166 329.4)
XYZxyz(50.2888, 35.3676, 69.8100)
Luminance0.3537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7DD9 #7DDF83
analogous
#B47DDF #DF7DD9 #DF7DA8
triadic
#DF7DD9 #D9DF7D #7DD9DF
tetradic
#DF7DD9 #DFB47D #7DDF83 #7DA8DF
square
#DF7DD9 #DFB47D #7DDF83 #7DA8DF
split-complementary
#DF7DD9 #A8DF7D #7DDFB4
monochromatic
#B52DAD #D34CCB #DF7DD9 #EBAEE7 #F7DFF6

Accessibility & contrast

On white

2.60
#DF7DD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#DF7DD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7DD9
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7DD9#FFFFFF#000000##000000
##DF7DD91.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7798DC
Deuteranopia (green-blind)
#92A5D6
Tritanopia (blue-blind)
#E585A1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #df7dd9;
/* rgb */ color: rgb(223, 125, 217);
/* oklch */ color: oklch(72.8% 0.166 329.4);
Tailwind
colors: {
  custom: {
    50: '#eba5e5',
    500: '#df7dd9',
    950: '#000000',
  },
}
SCSS
$custom: #df7dd9;
$custom-light: #eba5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#df7dd9",
  "rgb": {
    "r": 223,
    "g": 125,
    "b": 217
  },
  "hsl": {
    "h": 303.673,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72789,
    "c": 0.16592,
    "h": 329.4
  },
  "luminance": 0.35365
}

Semantic roles & 50–950 ramp

primary
#DF7DD9
secondary
#CDEBCF
accent
#C8281D
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F15
muted
#847F84

Preview Lab

Preview with #DF7DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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