#D74EC5#D74EC5

#D74EC5 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.9% C 0.216 H 333.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#D74EC5
RGBrgb(215, 78, 197)
HSLhsl(308, 63%, 57%)
HSVhsv(308, 64%, 84%)
CMYKcmyk(0%, 63.7%, 8.4%, 15.7%)
CIE-LABlab(56.02, 66.84, -35.38)
CIE-LCHlch(56.02, 75.62, 332.10°)
OKLaboklab(64.9% 0.1928 -0.0967)
OKLCHoklch(64.9% 0.216 333.4)
XYZxyz(40.8269, 23.9303, 55.2812)
Luminance0.2393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74EC5 #4ED760
analogous
#A44ED7 #D74EC5 #D74E81
triadic
#D74EC5 #C5D74E #4EC5D7
tetradic
#D74EC5 #D7A44E #4ED760 #4E81D7
square
#D74EC5 #D7A44E #4ED760 #4E81D7
split-complementary
#D74EC5 #81D74E #4ED7A4
monochromatic
#8B1F7D #BD2BAA #D74EC5 #E280D5 #EEB2E6

Accessibility & contrast

On white

3.63
#D74EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#D74EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74EC5
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74EC5#FFFFFF#000000##000000
##D74EC51.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7AC9
Deuteranopia (green-blind)
#788DC1
Tritanopia (blue-blind)
#E05983
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d74ec5;
/* rgb */ color: rgb(215, 78, 197);
/* oklch */ color: oklch(64.9% 0.216 333.4);
Tailwind
colors: {
  custom: {
    50: '#e789d7',
    500: '#d74ec5',
    950: '#000000',
  },
}
SCSS
$custom: #d74ec5;
$custom-light: #e789d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d74ec5",
  "rgb": {
    "r": 215,
    "g": 78,
    "b": 197
  },
  "hsl": {
    "h": 307.883,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64899,
    "c": 0.21571,
    "h": 333.4
  },
  "luminance": 0.23927
}

Semantic roles & 50–950 ramp

primary
#D74EC5
secondary
#A5DCAC
accent
#E65742
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D74EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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