#DF7DD7#DF7DD7

#DF7DD7 is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.7% C 0.164 H 330.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#DF7DD7
RGBrgb(223, 125, 215)
HSLhsl(305, 60%, 68%)
HSVhsv(305, 44%, 87%)
CMYKcmyk(0%, 43.9%, 3.6%, 12.5%)
CIE-LABlab(65.95, 50.46, -30.03)
CIE-LCHlch(65.95, 58.72, 329.24°)
OKLaboklab(72.7% 0.1424 -0.0817)
OKLCHoklch(72.7% 0.164 330.1)
XYZxyz(50.0302, 35.2642, 68.4482)
Luminance0.3526 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7DD7 #7DDF85
analogous
#B67DDF #DF7DD7 #DF7DA6
triadic
#DF7DD7 #D7DF7D #7DD7DF
tetradic
#DF7DD7 #DFB67D #7DDF85 #7DA6DF
square
#DF7DD7 #DFB67D #7DDF85 #7DA6DF
split-complementary
#DF7DD7 #A6DF7D #7DDFB6
monochromatic
#B52DAA #D34CC8 #DF7DD7 #EBAEE6 #F7DFF5

Accessibility & contrast

On white

2.61
#DF7DD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#DF7DD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7DD7
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7DD7#FFFFFF#000000##000000
##DF7DD71.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7898DA
Deuteranopia (green-blind)
#93A5D4
Tritanopia (blue-blind)
#E685A0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #df7dd7;
/* rgb */ color: rgb(223, 125, 215);
/* oklch */ color: oklch(72.7% 0.164 330.1);
Tailwind
colors: {
  custom: {
    50: '#eba5e3',
    500: '#df7dd7',
    950: '#000000',
  },
}
SCSS
$custom: #df7dd7;
$custom-light: #eba5e3;
$custom-dark: #000000;
JSON
{
  "hex": "#df7dd7",
  "rgb": {
    "r": 223,
    "g": 125,
    "b": 215
  },
  "hsl": {
    "h": 304.898,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72703,
    "c": 0.16415,
    "h": 330.1
  },
  "luminance": 0.35262
}

Semantic roles & 50–950 ramp

primary
#DF7DD7
secondary
#CDEBCF
accent
#C82B1D
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DF7DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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