#DF7CD1#DF7CD1

#DF7CD1 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.3% C 0.161 H 332.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#DF7CD1
RGBrgb(223, 124, 209)
HSLhsl(308, 61%, 68%)
HSVhsv(308, 44%, 87%)
CMYKcmyk(0%, 44.4%, 6.3%, 12.5%)
CIE-LABlab(65.52, 49.93, -27.34)
CIE-LCHlch(65.52, 56.93, 331.29°)
OKLaboklab(72.3% 0.1425 -0.0741)
OKLCHoklch(72.3% 0.161 332.5)
XYZxyz(49.1474, 34.7095, 64.4202)
Luminance0.3471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7CD1 #7CDF8A
analogous
#BB7CDF #DF7CD1 #DF7C9F
triadic
#DF7CD1 #D1DF7C #7CD1DF
tetradic
#DF7CD1 #DFBB7C #7CDF8A #7C9FDF
square
#DF7CD1 #DFBB7C #7CDF8A #7C9FDF
split-complementary
#DF7CD1 #9FDF7C #7CDFBB
monochromatic
#B52CA1 #D34BC0 #DF7CD1 #EBADE2 #F7DEF4

Accessibility & contrast

On white

2.64
#DF7CD1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#DF7CD1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7CD1
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7CD1#FFFFFF#000000##000000
##DF7CD11.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A96D4
Deuteranopia (green-blind)
#95A4CE
Tritanopia (blue-blind)
#E7829D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #df7cd1;
/* rgb */ color: rgb(223, 124, 209);
/* oklch */ color: oklch(72.3% 0.161 332.5);
Tailwind
colors: {
  custom: {
    50: '#eba4df',
    500: '#df7cd1',
    950: '#000000',
  },
}
SCSS
$custom: #df7cd1;
$custom-light: #eba4df;
$custom-dark: #000000;
JSON
{
  "hex": "#df7cd1",
  "rgb": {
    "r": 223,
    "g": 124,
    "b": 209
  },
  "hsl": {
    "h": 308.485,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72303,
    "c": 0.16061,
    "h": 332.5
  },
  "luminance": 0.34707
}

Semantic roles & 50–950 ramp

primary
#DF7CD1
secondary
#CCEBD1
accent
#C8351D
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DF7CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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