#D74DC2#D74DC2

#D74DC2 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.7% C 0.215 H 334.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#D74DC2
RGBrgb(215, 77, 194)
HSLhsl(309, 63%, 57%)
HSVhsv(309, 64%, 84%)
CMYKcmyk(0%, 64.2%, 9.8%, 15.7%)
CIE-LABlab(55.74, 66.77, -34.10)
CIE-LCHlch(55.74, 74.97, 332.95°)
OKLaboklab(64.65% 0.1936 -0.093)
OKLCHoklch(64.65% 0.215 334.3)
XYZxyz(40.4161, 23.6531, 53.4653)
Luminance0.2365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74DC2 #4DD762
analogous
#A74DD7 #D74DC2 #D74D7D
triadic
#D74DC2 #C2D74D #4DC2D7
tetradic
#D74DC2 #D7A74D #4DD762 #4D7DD7
square
#D74DC2 #D7A74D #4DD762 #4D7DD7
split-complementary
#D74DC2 #7DD74D #4DD7A7
monochromatic
#8A1F7A #BC2AA6 #D74DC2 #E27FD3 #EDB1E4

Accessibility & contrast

On white

3.66
#D74DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#D74DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74DC2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74DC2#FFFFFF#000000##000000
##D74DC21.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B79C5
Deuteranopia (green-blind)
#798DBE
Tritanopia (blue-blind)
#E15781
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d74dc2;
/* rgb */ color: rgb(215, 77, 194);
/* oklch */ color: oklch(64.7% 0.215 334.3);
Tailwind
colors: {
  custom: {
    50: '#e788d5',
    500: '#d74dc2',
    950: '#000000',
  },
}
SCSS
$custom: #d74dc2;
$custom-light: #e788d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d74dc2",
  "rgb": {
    "r": 215,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 309.13,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64651,
    "c": 0.21481,
    "h": 334.3
  },
  "luminance": 0.2365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D74DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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