#C74EC2#C74EC2

#C74EC2 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.5% C 0.204 H 329.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#C74EC2
RGBrgb(199, 78, 194)
HSLhsl(302, 52%, 54%)
HSVhsv(302, 61%, 78%)
CMYKcmyk(0%, 60.8%, 2.5%, 22%)
CIE-LABlab(53.48, 62.33, -37.81)
CIE-LCHlch(53.48, 72.90, 328.76°)
OKLaboklab(62.53% 0.1755 -0.104)
OKLCHoklch(62.53% 0.204 329.3)
XYZxyz(36.0148, 21.4884, 53.2792)
Luminance0.2149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74EC2 #4EC753
analogous
#8F4EC7 #C74EC2 #C74E86
triadic
#C74EC2 #C2C74E #4EC2C7
tetradic
#C74EC2 #C78F4E #4EC753 #4E86C7
square
#C74EC2 #C78F4E #4EC753 #4E86C7
split-complementary
#C74EC2 #86C74E #4EC78F
monochromatic
#752572 #A4349F #C74EC2 #D67CD2 #E4ABE2

Accessibility & contrast

On white

3.96
#C74EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#C74EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74EC2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74EC2#FFFFFF#000000##000000
##C74EC21.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4375C6
Deuteranopia (green-blind)
#6D86BF
Tritanopia (blue-blind)
#CE5B81
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c74ec2;
/* rgb */ color: rgb(199, 78, 194);
/* oklch */ color: oklch(62.5% 0.204 329.3);
Tailwind
colors: {
  custom: {
    50: '#db87d5',
    500: '#c74ec2',
    950: '#000000',
  },
}
SCSS
$custom: #c74ec2;
$custom-light: #db87d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ec2",
  "rgb": {
    "r": 199,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 302.479,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62531,
    "c": 0.20404,
    "h": 329.3
  },
  "luminance": 0.21486
}

Semantic roles & 50–950 ramp

primary
#C74EC2
secondary
#9FD2A1
accent
#DB524C
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C74EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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