#D74CD2#D74CD2

#D74CD2 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.3% C 0.228 H 329.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#D74CD2
RGBrgb(215, 76, 210)
HSLhsl(302, 63%, 57%)
HSVhsv(302, 65%, 84%)
CMYKcmyk(0%, 64.7%, 2.3%, 15.7%)
CIE-LABlab(56.36, 69.67, -42.27)
CIE-LCHlch(56.36, 81.49, 328.76°)
OKLaboklab(65.35% 0.1962 -0.1165)
OKLCHoklch(65.35% 0.228 329.3)
XYZxyz(42.2413, 24.2721, 63.4204)
Luminance0.2427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74CD2 #4CD751
analogous
#964CD7 #D74CD2 #D74C8D
triadic
#D74CD2 #D2D74C #4CD2D7
tetradic
#D74CD2 #D7964C #4CD751 #4C8DD7
square
#D74CD2 #D7964C #4CD751 #4C8DD7
split-complementary
#D74CD2 #8DD74C #4CD796
monochromatic
#8A1F86 #BC2AB7 #D74CD2 #E27EDF #EDB0EB

Accessibility & contrast

On white

3.59
#D74CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#D74CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74CD2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74CD2#FFFFFF#000000##000000
##D74CD21.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7BD6
Deuteranopia (green-blind)
#718ECE
Tritanopia (blue-blind)
#DE5D89
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d74cd2;
/* rgb */ color: rgb(215, 76, 210);
/* oklch */ color: oklch(65.3% 0.228 329.3);
Tailwind
colors: {
  custom: {
    50: '#e788e0',
    500: '#d74cd2',
    950: '#000000',
  },
}
SCSS
$custom: #d74cd2;
$custom-light: #e788e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d74cd2",
  "rgb": {
    "r": 215,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 302.158,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.65348,
    "c": 0.22819,
    "h": 329.3
  },
  "luminance": 0.24269
}

Semantic roles & 50–950 ramp

primary
#D74CD2
secondary
#A3DCA5
accent
#E64741
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D74CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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