#DF7FD7#DF7FD7

#DF7FD7 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.0% C 0.161 H 330.2°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#DF7FD7
RGBrgb(223, 127, 215)
HSLhsl(305, 60%, 69%)
HSVhsv(305, 43%, 87%)
CMYKcmyk(0%, 43%, 3.6%, 12.5%)
CIE-LABlab(66.35, 49.45, -29.42)
CIE-LCHlch(66.35, 57.54, 329.25°)
OKLaboklab(73% 0.1395 -0.08)
OKLCHoklch(73% 0.161 330.2)
XYZxyz(50.2859, 35.7757, 68.5335)
Luminance0.3577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FD7 #7FDF87
analogous
#B77FDF #DF7FD7 #DF7FA7
triadic
#DF7FD7 #D7DF7F #7FD7DF
tetradic
#DF7FD7 #DFB77F #7FDF87 #7FA7DF
square
#DF7FD7 #DFB77F #7FDF87 #7FA7DF
split-complementary
#DF7FD7 #A7DF7F #7FDFB7
monochromatic
#B62EAB #D34EC8 #DF7FD7 #EBB0E6 #F7E1F6

Accessibility & contrast

On white

2.58
#DF7FD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#DF7FD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7FD7
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7FD7#FFFFFF#000000##000000
##DF7FD71.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B99DA
Deuteranopia (green-blind)
#95A6D4
Tritanopia (blue-blind)
#E686A1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #df7fd7;
/* rgb */ color: rgb(223, 127, 215);
/* oklch */ color: oklch(73.0% 0.161 330.2);
Tailwind
colors: {
  custom: {
    50: '#eba6e3',
    500: '#df7fd7',
    950: '#000000',
  },
}
SCSS
$custom: #df7fd7;
$custom-light: #eba6e3;
$custom-dark: #000000;
JSON
{
  "hex": "#df7fd7",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 215
  },
  "hsl": {
    "h": 305,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72998,
    "c": 0.1608,
    "h": 330.2
  },
  "luminance": 0.35773
}

Semantic roles & 50–950 ramp

primary
#DF7FD7
secondary
#CFEBD1
accent
#C82C1E
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #DF7FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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