#D74DCC#D74DCC

#D74DCC is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.1% C 0.222 H 331.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#D74DCC
RGBrgb(215, 77, 204)
HSLhsl(305, 63%, 57%)
HSVhsv(305, 64%, 84%)
CMYKcmyk(0%, 64.2%, 5.1%, 15.7%)
CIE-LABlab(56.21, 68.33, -39.09)
CIE-LCHlch(56.21, 78.72, 330.22°)
OKLaboklab(65.14% 0.1947 -0.1074)
OKLCHoklch(65.14% 0.222 331.1)
XYZxyz(41.5772, 24.1176, 59.5803)
Luminance0.2411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74DCC #4DD758
analogous
#9D4DD7 #D74DCC #D74D87
triadic
#D74DCC #CCD74D #4DCCD7
tetradic
#D74DCC #D79D4D #4DD758 #4D87D7
square
#D74DCC #D79D4D #4DD758 #4D87D7
split-complementary
#D74DCC #87D74D #4DD79D
monochromatic
#8A1F82 #BC2AB1 #D74DCC #E27FDA #EDB1E9

Accessibility & contrast

On white

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

On black

5.82
#D74DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74DCC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74DCC#FFFFFF#000000##000000
##D74DCC1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#447AD0
Deuteranopia (green-blind)
#748EC8
Tritanopia (blue-blind)
#DF5B86
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d74dcc;
/* rgb */ color: rgb(215, 77, 204);
/* oklch */ color: oklch(65.1% 0.222 331.1);
Tailwind
colors: {
  custom: {
    50: '#e788dc',
    500: '#d74dcc',
    950: '#000000',
  },
}
SCSS
$custom: #d74dcc;
$custom-light: #e788dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d74dcc",
  "rgb": {
    "r": 215,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 304.783,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.65142,
    "c": 0.2223,
    "h": 331.1
  },
  "luminance": 0.24114
}

Semantic roles & 50–950 ramp

primary
#D74DCC
secondary
#A4DCA8
accent
#E64F41
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D74DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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