#C74EC8#C74EC8

#C74EC8 is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 62.8% C 0.209 H 327.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#C74EC8
RGBrgb(199, 78, 200)
HSLhsl(300, 53%, 55%)
HSVhsv(300, 61%, 78%)
CMYKcmyk(0.5%, 61%, 0%, 21.6%)
CIE-LABlab(53.78, 63.35, -40.79)
CIE-LCHlch(53.78, 75.34, 327.22°)
OKLaboklab(62.84% 0.176 -0.1126)
OKLCHoklch(62.84% 0.209 327.4)
XYZxyz(36.7023, 21.7634, 56.9000)
Luminance0.2176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74EC8 #4FC84E
analogous
#8A4EC8 #C74EC8 #C84E8C
triadic
#C74EC8 #C8C74E #4EC8C7
tetradic
#C74EC8 #C88A4E #4FC84E #4E8CC8
square
#C74EC8 #C88A4E #4FC84E #4E8CC8
split-complementary
#C74EC8 #8CC84E #4EC88A
monochromatic
#762577 #A433A5 #C74EC8 #D67DD7 #E5ABE5

Accessibility & contrast

On white

3.92
#C74EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#C74EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74EC8
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74EC8#FFFFFF#000000##000000
##C74EC81.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E76CC
Deuteranopia (green-blind)
#6A86C5
Tritanopia (blue-blind)
#CD5E84
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c74ec8;
/* rgb */ color: rgb(199, 78, 200);
/* oklch */ color: oklch(62.8% 0.209 327.4);
Tailwind
colors: {
  custom: {
    50: '#db87d9',
    500: '#c74ec8',
    950: '#000000',
  },
}
SCSS
$custom: #c74ec8;
$custom-light: #db87d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ec8",
  "rgb": {
    "r": 199,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 299.508,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.62841,
    "c": 0.20898,
    "h": 327.4
  },
  "luminance": 0.21761
}

Semantic roles & 50–950 ramp

primary
#C74EC8
secondary
#A0D39F
accent
#DC4C4D
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C74EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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