#C74CC7#C74CC7

#C74CC7 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.6% C 0.211 H 327.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#C74CC7
RGBrgb(199, 76, 199)
HSLhsl(300, 52%, 54%)
HSVhsv(300, 62%, 78%)
CMYKcmyk(0%, 61.8%, 0%, 22%)
CIE-LABlab(53.42, 64.01, -40.77)
CIE-LCHlch(53.42, 75.89, 327.50°)
OKLaboklab(62.57% 0.1783 -0.1126)
OKLCHoklch(62.57% 0.211 327.7)
XYZxyz(36.4459, 21.4369, 56.2399)
Luminance0.2144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74CC7 #4CC74C
analogous
#8A4CC7 #C74CC7 #C74C8A
triadic
#C74CC7 #C7C74C #4CC7C7
tetradic
#C74CC7 #C78A4C #4CC74C #4C8AC7
square
#C74CC7 #C78A4C #4CC74C #4C8AC7
split-complementary
#C74CC7 #8AC74C #4CC78A
monochromatic
#742474 #A333A3 #C74CC7 #D67BD6 #E4A9E4

Accessibility & contrast

On white

3.97
#C74CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#C74CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74CC7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74CC7#FFFFFF#000000##000000
##C74CC71.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D75CB
Deuteranopia (green-blind)
#6985C4
Tritanopia (blue-blind)
#CD5C83
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c74cc7;
/* rgb */ color: rgb(199, 76, 199);
/* oklch */ color: oklch(62.6% 0.211 327.7);
Tailwind
colors: {
  custom: {
    50: '#db86d8',
    500: '#c74cc7',
    950: '#000000',
  },
}
SCSS
$custom: #c74cc7;
$custom-light: #db86d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c74cc7",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 300,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6257,
    "c": 0.21086,
    "h": 327.7
  },
  "luminance": 0.21435
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C74CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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