#D74DC4#D74DC4

#D74DC4 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.7% C 0.216 H 333.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#D74DC4
RGBrgb(215, 77, 196)
HSLhsl(308, 63%, 57%)
HSVhsv(308, 64%, 84%)
CMYKcmyk(0%, 64.2%, 8.8%, 15.7%)
CIE-LABlab(55.83, 67.08, -35.10)
CIE-LCHlch(55.83, 75.71, 332.38°)
OKLaboklab(64.75% 0.1939 -0.0959)
OKLCHoklch(64.75% 0.216 333.7)
XYZxyz(40.6422, 23.7436, 54.6563)
Luminance0.2374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74DC4 #4DD760
analogous
#A54DD7 #D74DC4 #D74D7F
triadic
#D74DC4 #C4D74D #4DC4D7
tetradic
#D74DC4 #D7A54D #4DD760 #4D7FD7
square
#D74DC4 #D7A54D #4DD760 #4D7FD7
split-complementary
#D74DC4 #7FD74D #4DD7A5
monochromatic
#8A1F7C #BC2AA8 #D74DC4 #E27FD5 #EDB1E5

Accessibility & contrast

On white

3.65
#D74DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#D74DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74DC4
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74DC4#FFFFFF#000000##000000
##D74DC41.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A79C8
Deuteranopia (green-blind)
#788DC0
Tritanopia (blue-blind)
#E05882
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d74dc4;
/* rgb */ color: rgb(215, 77, 196);
/* oklch */ color: oklch(64.7% 0.216 333.7);
Tailwind
colors: {
  custom: {
    50: '#e788d6',
    500: '#d74dc4',
    950: '#000000',
  },
}
SCSS
$custom: #d74dc4;
$custom-light: #e788d6;
$custom-dark: #000000;
JSON
{
  "hex": "#d74dc4",
  "rgb": {
    "r": 215,
    "g": 77,
    "b": 196
  },
  "hsl": {
    "h": 308.261,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64747,
    "c": 0.21628,
    "h": 333.7
  },
  "luminance": 0.2374
}

Semantic roles & 50–950 ramp

primary
#D74DC4
secondary
#A4DCAC
accent
#E65841
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D74DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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