#C74DC2#C74DC2

#C74DC2 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.4% C 0.205 H 329.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#C74DC2
RGBrgb(199, 77, 194)
HSLhsl(302, 52%, 54%)
HSVhsv(302, 61%, 78%)
CMYKcmyk(0%, 61.3%, 2.5%, 22%)
CIE-LABlab(53.33, 62.75, -38.05)
CIE-LCHlch(53.33, 73.39, 328.77°)
OKLaboklab(62.42% 0.1767 -0.1047)
OKLCHoklch(62.42% 0.205 329.4)
XYZxyz(35.9443, 21.3474, 53.2557)
Luminance0.2135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74DC2 #4DC752
analogous
#8F4DC7 #C74DC2 #C74D85
triadic
#C74DC2 #C2C74D #4DC2C7
tetradic
#C74DC2 #C78F4D #4DC752 #4D85C7
square
#C74DC2 #C78F4D #4DC752 #4D85C7
split-complementary
#C74DC2 #85C74D #4DC78F
monochromatic
#752572 #A3339F #C74DC2 #D67CD2 #E4AAE2

Accessibility & contrast

On white

3.99
#C74DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#C74DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74DC2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74DC2#FFFFFF#000000##000000
##C74DC21.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4275C6
Deuteranopia (green-blind)
#6C85BF
Tritanopia (blue-blind)
#CE5B81
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c74dc2;
/* rgb */ color: rgb(199, 77, 194);
/* oklch */ color: oklch(62.4% 0.205 329.4);
Tailwind
colors: {
  custom: {
    50: '#db87d5',
    500: '#c74dc2',
    950: '#000000',
  },
}
SCSS
$custom: #c74dc2;
$custom-light: #db87d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c74dc2",
  "rgb": {
    "r": 199,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 302.459,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.6242,
    "c": 0.20542,
    "h": 329.4
  },
  "luminance": 0.21345
}

Semantic roles & 50–950 ramp

primary
#C74DC2
secondary
#9ED2A0
accent
#DC524C
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C74DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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