#C74EC7#C74EC7

#C74EC7 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 62.8% C 0.208 H 327.7°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C74EC7
RGBrgb(199, 78, 199)
HSLhsl(300, 52%, 54%)
HSVhsv(300, 61%, 78%)
CMYKcmyk(0%, 60.8%, 0%, 22%)
CIE-LABlab(53.73, 63.18, -40.30)
CIE-LCHlch(53.73, 74.93, 327.47°)
OKLaboklab(62.79% 0.176 -0.1112)
OKLCHoklch(62.79% 0.208 327.7)
XYZxyz(36.5858, 21.7168, 56.2865)
Luminance0.2171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74EC7 #4EC74E
analogous
#8B4EC7 #C74EC7 #C74E8B
triadic
#C74EC7 #C7C74E #4EC7C7
tetradic
#C74EC7 #C78B4E #4EC74E #4E8BC7
square
#C74EC7 #C78B4E #4EC74E #4E8BC7
split-complementary
#C74EC7 #8BC74E #4EC78B
monochromatic
#752575 #A434A4 #C74EC7 #D67CD6 #E4ABE4

Accessibility & contrast

On white

3.93
#C74EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#C74EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74EC7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74EC7#FFFFFF#000000##000000
##C74EC71.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c74ec7;
/* rgb */ color: rgb(199, 78, 199);
/* oklch */ color: oklch(62.8% 0.208 327.7);
Tailwind
colors: {
  custom: {
    50: '#db87d8',
    500: '#c74ec7',
    950: '#000000',
  },
}
SCSS
$custom: #c74ec7;
$custom-light: #db87d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ec7",
  "rgb": {
    "r": 199,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 300,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62789,
    "c": 0.20815,
    "h": 327.7
  },
  "luminance": 0.21714
}

Semantic roles & 50–950 ramp

primary
#C74EC7
secondary
#9FD29F
accent
#DB4C4C
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C74EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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