#DF7CD8#DF7CD8

#DF7CD8 is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.6% C 0.167 H 329.7°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#DF7CD8
RGBrgb(223, 124, 216)
HSLhsl(304, 61%, 68%)
HSVhsv(304, 44%, 87%)
CMYKcmyk(0%, 44.4%, 3.1%, 12.5%)
CIE-LABlab(65.80, 51.14, -30.83)
CIE-LCHlch(65.80, 59.71, 328.92°)
OKLaboklab(72.6% 0.144 -0.084)
OKLCHoklch(72.6% 0.167 329.7)
XYZxyz(50.0331, 35.0638, 69.0850)
Luminance0.3506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7CD8 #7CDF83
analogous
#B47CDF #DF7CD8 #DF7CA7
triadic
#DF7CD8 #D8DF7C #7CD8DF
tetradic
#DF7CD8 #DFB47C #7CDF83 #7CA7DF
square
#DF7CD8 #DFB47C #7CDF83 #7CA7DF
split-complementary
#DF7CD8 #A7DF7C #7CDFB4
monochromatic
#B52CAB #D34BC9 #DF7CD8 #EBADE7 #F7DEF5

Accessibility & contrast

On white

2.62
#DF7CD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#DF7CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7CD8
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7CD8#FFFFFF#000000##000000
##DF7CD81.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7797DB
Deuteranopia (green-blind)
#92A5D5
Tritanopia (blue-blind)
#E684A0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #df7cd8;
/* rgb */ color: rgb(223, 124, 216);
/* oklch */ color: oklch(72.6% 0.167 329.7);
Tailwind
colors: {
  custom: {
    50: '#eba5e4',
    500: '#df7cd8',
    950: '#000000',
  },
}
SCSS
$custom: #df7cd8;
$custom-light: #eba5e4;
$custom-dark: #000000;
JSON
{
  "hex": "#df7cd8",
  "rgb": {
    "r": 223,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 304.242,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.726,
    "c": 0.1667,
    "h": 329.7
  },
  "luminance": 0.35061
}

Semantic roles & 50–950 ramp

primary
#DF7CD8
secondary
#CCEBCE
accent
#C8291D
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DF7CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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