#DF7FD5#DF7FD5

#DF7FD5 is a light, vivid purple. Relative luminance 0.357; OKLCH L 72.9% C 0.159 H 331.0°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#DF7FD5
RGBrgb(223, 127, 213)
HSLhsl(306, 60%, 69%)
HSVhsv(306, 43%, 87%)
CMYKcmyk(0%, 43%, 4.5%, 12.5%)
CIE-LABlab(66.27, 49.10, -28.43)
CIE-LCHlch(66.27, 56.73, 329.93°)
OKLaboklab(72.91% 0.139 -0.0772)
OKLCHoklch(72.91% 0.159 331)
XYZxyz(50.0305, 35.6735, 67.1883)
Luminance0.3567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FD5 #7FDF89
analogous
#B97FDF #DF7FD5 #DF7FA5
triadic
#DF7FD5 #D5DF7F #7FD5DF
tetradic
#DF7FD5 #DFB97F #7FDF89 #7FA5DF
square
#DF7FD5 #DFB97F #7FDF89 #7FA5DF
split-complementary
#DF7FD5 #A5DF7F #7FDFB9
monochromatic
#B62EA8 #D34EC5 #DF7FD5 #EBB0E5 #F7E1F5

Accessibility & contrast

On white

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

On black

8.13
#DF7FD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7FD5
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7FD5#FFFFFF#000000##000000
##DF7FD51.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B99D8
Deuteranopia (green-blind)
#95A6D2
Tritanopia (blue-blind)
#E686A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #df7fd5;
/* rgb */ color: rgb(223, 127, 213);
/* oklch */ color: oklch(72.9% 0.159 331.0);
Tailwind
colors: {
  custom: {
    50: '#eba6e2',
    500: '#df7fd5',
    950: '#000000',
  },
}
SCSS
$custom: #df7fd5;
$custom-light: #eba6e2;
$custom-dark: #000000;
JSON
{
  "hex": "#df7fd5",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 213
  },
  "hsl": {
    "h": 306.25,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72913,
    "c": 0.15903,
    "h": 331
  },
  "luminance": 0.35671
}

Semantic roles & 50–950 ramp

primary
#DF7FD5
secondary
#CFEBD2
accent
#C8301E
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #DF7FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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