#C74DC7#C74DC7

#C74DC7 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 62.7% C 0.210 H 327.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#C74DC7
RGBrgb(199, 77, 199)
HSLhsl(300, 52%, 54%)
HSVhsv(300, 61%, 78%)
CMYKcmyk(0%, 61.3%, 0%, 22%)
CIE-LABlab(53.57, 63.59, -40.54)
CIE-LCHlch(53.57, 75.41, 327.49°)
OKLaboklab(62.68% 0.1771 -0.1119)
OKLCHoklch(62.68% 0.21 327.7)
XYZxyz(36.5153, 21.5758, 56.2630)
Luminance0.2157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74DC7 #4DC74D
analogous
#8A4DC7 #C74DC7 #C74D8A
triadic
#C74DC7 #C7C74D #4DC7C7
tetradic
#C74DC7 #C78A4D #4DC74D #4D8AC7
square
#C74DC7 #C78A4D #4DC74D #4D8AC7
split-complementary
#C74DC7 #8AC74D #4DC78A
monochromatic
#752575 #A333A3 #C74DC7 #D67CD6 #E4AAE4

Accessibility & contrast

On white

3.95
#C74DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#C74DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74DC7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74DC7#FFFFFF#000000##000000
##C74DC71.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E76CB
Deuteranopia (green-blind)
#6A86C4
Tritanopia (blue-blind)
#CD5D83
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c74dc7;
/* rgb */ color: rgb(199, 77, 199);
/* oklch */ color: oklch(62.7% 0.210 327.7);
Tailwind
colors: {
  custom: {
    50: '#db87d8',
    500: '#c74dc7',
    950: '#000000',
  },
}
SCSS
$custom: #c74dc7;
$custom-light: #db87d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c74dc7",
  "rgb": {
    "r": 199,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 300,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62679,
    "c": 0.20951,
    "h": 327.7
  },
  "luminance": 0.21573
}

Semantic roles & 50–950 ramp

primary
#C74DC7
secondary
#9ED29E
accent
#DC4C4C
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C74DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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