#D74CD5#D74CD5

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

Color values

HEX#D74CD5
RGBrgb(215, 76, 213)
HSLhsl(301, 63%, 57%)
HSVhsv(301, 65%, 84%)
CMYKcmyk(0%, 64.7%, 0.9%, 15.7%)
CIE-LABlab(56.51, 70.16, -43.74)
CIE-LCHlch(56.51, 82.68, 328.06°)
OKLaboklab(65.51% 0.1964 -0.1208)
OKLCHoklch(65.51% 0.231 328.4)
XYZxyz(42.6185, 24.4230, 65.4073)
Luminance0.2442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74CD5 #4CD74E
analogous
#934CD7 #D74CD5 #D74C90
triadic
#D74CD5 #D5D74C #4CD5D7
tetradic
#D74CD5 #D7934C #4CD74E #4C90D7
square
#D74CD5 #D7934C #4CD74E #4C90D7
split-complementary
#D74CD5 #90D74C #4CD793
monochromatic
#8A1F88 #BC2ABA #D74CD5 #E27EE1 #EDB0EC

Accessibility & contrast

On white

3.57
#D74CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#D74CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74CD5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74CD5#FFFFFF#000000##000000
##D74CD51.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7CD9
Deuteranopia (green-blind)
#6F8ED1
Tritanopia (blue-blind)
#DE5E8A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d74cd5;
/* rgb */ color: rgb(215, 76, 213);
/* oklch */ color: oklch(65.5% 0.231 328.4);
Tailwind
colors: {
  custom: {
    50: '#e788e2',
    500: '#d74cd5',
    950: '#000000',
  },
}
SCSS
$custom: #d74cd5;
$custom-light: #e788e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d74cd5",
  "rgb": {
    "r": 215,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 300.863,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.65505,
    "c": 0.23053,
    "h": 328.4
  },
  "luminance": 0.2442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D74CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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