#D74FC2#D74FC2

#D74FC2 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.9% C 0.212 H 334.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#D74FC2
RGBrgb(215, 79, 194)
HSLhsl(309, 63%, 58%)
HSVhsv(309, 63%, 84%)
CMYKcmyk(0%, 63.3%, 9.8%, 15.7%)
CIE-LABlab(56.02, 65.98, -33.65)
CIE-LCHlch(56.02, 74.06, 332.98°)
OKLaboklab(64.86% 0.1913 -0.0918)
OKLCHoklch(64.86% 0.212 334.4)
XYZxyz(40.5582, 23.9373, 53.5127)
Luminance0.2393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74FC2 #4FD764
analogous
#A84FD7 #D74FC2 #D74F7E
triadic
#D74FC2 #C2D74F #4FC2D7
tetradic
#D74FC2 #D7A84F #4FD764 #4F7ED7
square
#D74FC2 #D7A84F #4FD764 #4F7ED7
split-complementary
#D74FC2 #7ED74F #4FD7A8
monochromatic
#8C207B #BE2BA7 #D74FC2 #E281D3 #EEB3E5

Accessibility & contrast

On white

3.63
#D74FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#D74FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74FC2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74FC2#FFFFFF#000000##000000
##D74FC21.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E79C5
Deuteranopia (green-blind)
#7A8EBF
Tritanopia (blue-blind)
#E15981
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d74fc2;
/* rgb */ color: rgb(215, 79, 194);
/* oklch */ color: oklch(64.9% 0.212 334.4);
Tailwind
colors: {
  custom: {
    50: '#e789d5',
    500: '#d74fc2',
    950: '#000000',
  },
}
SCSS
$custom: #d74fc2;
$custom-light: #e789d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d74fc2",
  "rgb": {
    "r": 215,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 309.265,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.6486,
    "c": 0.21217,
    "h": 334.4
  },
  "luminance": 0.23934
}

Semantic roles & 50–950 ramp

primary
#D74FC2
secondary
#A6DCAE
accent
#E65B42
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D74FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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