#D74CD4#D74CD4

#D74CD4 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.5% C 0.230 H 328.7°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#D74CD4
RGBrgb(215, 76, 212)
HSLhsl(301, 63%, 57%)
HSVhsv(301, 65%, 84%)
CMYKcmyk(0%, 64.7%, 1.4%, 15.7%)
CIE-LABlab(56.46, 70.00, -43.25)
CIE-LCHlch(56.46, 82.28, 328.29°)
OKLaboklab(65.45% 0.1963 -0.1194)
OKLCHoklch(65.45% 0.23 328.7)
XYZxyz(42.4920, 24.3724, 64.7409)
Luminance0.2437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74CD4 #4CD74F
analogous
#954CD7 #D74CD4 #D74C8F
triadic
#D74CD4 #D4D74C #4CD4D7
tetradic
#D74CD4 #D7954C #4CD74F #4C8FD7
square
#D74CD4 #D7954C #4CD74F #4C8FD7
split-complementary
#D74CD4 #8FD74C #4CD795
monochromatic
#8A1F87 #BC2AB9 #D74CD4 #E27EE0 #EDB0EC

Accessibility & contrast

On white

3.58
#D74CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#D74CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74CD4
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74CD4#FFFFFF#000000##000000
##D74CD41.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7CD8
Deuteranopia (green-blind)
#708ED0
Tritanopia (blue-blind)
#DE5E8A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d74cd4;
/* rgb */ color: rgb(215, 76, 212);
/* oklch */ color: oklch(65.5% 0.230 328.7);
Tailwind
colors: {
  custom: {
    50: '#e788e2',
    500: '#d74cd4',
    950: '#000000',
  },
}
SCSS
$custom: #d74cd4;
$custom-light: #e788e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d74cd4",
  "rgb": {
    "r": 215,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 301.295,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.65453,
    "c": 0.22975,
    "h": 328.7
  },
  "luminance": 0.24369
}

Semantic roles & 50–950 ramp

primary
#D74CD4
secondary
#A3DCA4
accent
#E64541
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D74CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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