#D74DC5#D74DC5

#D74DC5 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.8% C 0.217 H 333.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#D74DC5
RGBrgb(215, 77, 197)
HSLhsl(308, 63%, 57%)
HSVhsv(308, 64%, 84%)
CMYKcmyk(0%, 64.2%, 8.4%, 15.7%)
CIE-LABlab(55.88, 67.23, -35.61)
CIE-LCHlch(55.88, 76.08, 332.09°)
OKLaboklab(64.8% 0.194 -0.0974)
OKLCHoklch(64.8% 0.217 333.3)
XYZxyz(40.7564, 23.7892, 55.2577)
Luminance0.2379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74DC5 #4DD75F
analogous
#A44DD7 #D74DC5 #D74D80
triadic
#D74DC5 #C5D74D #4DC5D7
tetradic
#D74DC5 #D7A44D #4DD75F #4D80D7
square
#D74DC5 #D7A44D #4DD75F #4D80D7
split-complementary
#D74DC5 #80D74D #4DD7A4
monochromatic
#8A1F7C #BC2AA9 #D74DC5 #E27FD5 #EDB1E6

Accessibility & contrast

On white

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

On black

5.76
#D74DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74DC5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74DC5#FFFFFF#000000##000000
##D74DC51.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4979C9
Deuteranopia (green-blind)
#788DC1
Tritanopia (blue-blind)
#E05882
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d74dc5;
/* rgb */ color: rgb(215, 77, 197);
/* oklch */ color: oklch(64.8% 0.217 333.3);
Tailwind
colors: {
  custom: {
    50: '#e788d7',
    500: '#d74dc5',
    950: '#000000',
  },
}
SCSS
$custom: #d74dc5;
$custom-light: #e788d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d74dc5",
  "rgb": {
    "r": 215,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 307.826,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64796,
    "c": 0.21702,
    "h": 333.3
  },
  "luminance": 0.23786
}

Semantic roles & 50–950 ramp

primary
#D74DC5
secondary
#A4DCAB
accent
#E65741
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D74DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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