#D74FC5#D74FC5

#D74FC5 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.0% C 0.214 H 333.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#D74FC5
RGBrgb(215, 79, 197)
HSLhsl(308, 63%, 58%)
HSVhsv(308, 63%, 84%)
CMYKcmyk(0%, 63.3%, 8.4%, 15.7%)
CIE-LABlab(56.16, 66.44, -35.16)
CIE-LCHlch(56.16, 75.17, 332.11°)
OKLaboklab(65% 0.1916 -0.0961)
OKLCHoklch(65% 0.214 333.4)
XYZxyz(40.8985, 24.0734, 55.3051)
Luminance0.2407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74FC5 #4FD761
analogous
#A54FD7 #D74FC5 #D74F81
triadic
#D74FC5 #C5D74F #4FC5D7
tetradic
#D74FC5 #D7A54F #4FD761 #4F81D7
square
#D74FC5 #D7A54F #4FD761 #4F81D7
split-complementary
#D74FC5 #81D74F #4FD7A5
monochromatic
#8C207E #BE2BAA #D74FC5 #E281D5 #EEB3E6

Accessibility & contrast

On white

3.61
#D74FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#D74FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74FC5
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74FC5#FFFFFF#000000##000000
##D74FC51.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7AC9
Deuteranopia (green-blind)
#798EC1
Tritanopia (blue-blind)
#E05A83
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d74fc5;
/* rgb */ color: rgb(215, 79, 197);
/* oklch */ color: oklch(65.0% 0.214 333.4);
Tailwind
colors: {
  custom: {
    50: '#e789d7',
    500: '#d74fc5',
    950: '#000000',
  },
}
SCSS
$custom: #d74fc5;
$custom-light: #e789d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d74fc5",
  "rgb": {
    "r": 215,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 307.941,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65003,
    "c": 0.21439,
    "h": 333.4
  },
  "luminance": 0.2407
}

Semantic roles & 50–950 ramp

primary
#D74FC5
secondary
#A6DCAD
accent
#E65842
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D74FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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