#DF7CD9#DF7CD9

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

Color values

HEX#DF7CD9
RGBrgb(223, 124, 217)
HSLhsl(304, 61%, 68%)
HSVhsv(304, 44%, 87%)
CMYKcmyk(0%, 44.4%, 2.7%, 12.5%)
CIE-LABlab(65.84, 51.31, -31.32)
CIE-LCHlch(65.84, 60.12, 328.60°)
OKLaboklab(72.64% 0.1442 -0.0854)
OKLCHoklch(72.64% 0.168 329.4)
XYZxyz(50.1628, 35.1157, 69.7680)
Luminance0.3511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7CD9 #7CDF82
analogous
#B37CDF #DF7CD9 #DF7CA8
triadic
#DF7CD9 #D9DF7C #7CD9DF
tetradic
#DF7CD9 #DFB37C #7CDF82 #7CA8DF
square
#DF7CD9 #DFB37C #7CDF82 #7CA8DF
split-complementary
#DF7CD9 #A8DF7C #7CDFB3
monochromatic
#B52CAC #D34BCB #DF7CD9 #EBADE7 #F7DEF6

Accessibility & contrast

On white

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

On black

8.02
#DF7CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7CD9
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7CD9#FFFFFF#000000##000000
##DF7CD91.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df7cd9;
/* rgb */ color: rgb(223, 124, 217);
/* oklch */ color: oklch(72.6% 0.168 329.4);
Tailwind
colors: {
  custom: {
    50: '#eba5e5',
    500: '#df7cd9',
    950: '#000000',
  },
}
SCSS
$custom: #df7cd9;
$custom-light: #eba5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#df7cd9",
  "rgb": {
    "r": 223,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 303.636,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72643,
    "c": 0.16758,
    "h": 329.4
  },
  "luminance": 0.35113
}

Semantic roles & 50–950 ramp

primary
#DF7CD9
secondary
#CCEBCE
accent
#C8271D
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F15
muted
#847F84

Preview Lab

Preview with #DF7CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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