#DF7CD2#DF7CD2

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

Color values

HEX#DF7CD2
RGBrgb(223, 124, 210)
HSLhsl(308, 61%, 68%)
HSVhsv(308, 44%, 87%)
CMYKcmyk(0%, 44.4%, 5.8%, 12.5%)
CIE-LABlab(65.56, 50.10, -27.84)
CIE-LCHlch(65.56, 57.32, 330.94°)
OKLaboklab(72.35% 0.1427 -0.0755)
OKLCHoklch(72.35% 0.161 332.1)
XYZxyz(49.2716, 34.7592, 65.0742)
Luminance0.3476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7CD2 #7CDF89
analogous
#BA7CDF #DF7CD2 #DF7CA0
triadic
#DF7CD2 #D2DF7C #7CD2DF
tetradic
#DF7CD2 #DFBA7C #7CDF89 #7CA0DF
square
#DF7CD2 #DFBA7C #7CDF89 #7CA0DF
split-complementary
#DF7CD2 #A0DF7C #7CDFBA
monochromatic
#B52CA3 #D34BC1 #DF7CD2 #EBADE3 #F7DEF4

Accessibility & contrast

On white

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

On black

7.95
#DF7CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7CD2
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7CD2#FFFFFF#000000##000000
##DF7CD21.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7996D5
Deuteranopia (green-blind)
#94A4CF
Tritanopia (blue-blind)
#E7829D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #df7cd2;
/* rgb */ color: rgb(223, 124, 210);
/* oklch */ color: oklch(72.3% 0.161 332.1);
Tailwind
colors: {
  custom: {
    50: '#eba5e0',
    500: '#df7cd2',
    950: '#000000',
  },
}
SCSS
$custom: #df7cd2;
$custom-light: #eba5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#df7cd2",
  "rgb": {
    "r": 223,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 307.879,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72345,
    "c": 0.16147,
    "h": 332.1
  },
  "luminance": 0.34756
}

Semantic roles & 50–950 ramp

primary
#DF7CD2
secondary
#CCEBD0
accent
#C8341D
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DF7CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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