#C74DC8#C74DC8

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

Color values

HEX#C74DC8
RGBrgb(199, 77, 200)
HSLhsl(300, 53%, 54%)
HSVhsv(300, 62%, 78%)
CMYKcmyk(0.5%, 61.5%, 0%, 21.6%)
CIE-LABlab(53.62, 63.76, -41.03)
CIE-LCHlch(53.62, 75.82, 327.24°)
OKLaboklab(62.73% 0.1772 -0.1133)
OKLCHoklch(62.73% 0.21 327.4)
XYZxyz(36.6318, 21.6224, 56.8765)
Luminance0.2162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74DC8 #4EC84D
analogous
#8A4DC8 #C74DC8 #C84D8C
triadic
#C74DC8 #C8C74D #4DC8C7
tetradic
#C74DC8 #C88A4D #4EC84D #4D8CC8
square
#C74DC8 #C88A4D #4EC84D #4D8CC8
split-complementary
#C74DC8 #8CC84D #4DC88A
monochromatic
#752476 #A433A5 #C74DC8 #D67CD6 #E4ABE5

Accessibility & contrast

On white

3.94
#C74DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#C74DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74DC8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74DC8#FFFFFF#000000##000000
##C74DC81.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D76CC
Deuteranopia (green-blind)
#6986C5
Tritanopia (blue-blind)
#CD5D84
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c74dc8;
/* rgb */ color: rgb(199, 77, 200);
/* oklch */ color: oklch(62.7% 0.210 327.4);
Tailwind
colors: {
  custom: {
    50: '#db87d9',
    500: '#c74dc8',
    950: '#000000',
  },
}
SCSS
$custom: #c74dc8;
$custom-light: #db87d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c74dc8",
  "rgb": {
    "r": 199,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 299.512,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62732,
    "c": 0.21034,
    "h": 327.4
  },
  "luminance": 0.2162
}

Semantic roles & 50–950 ramp

primary
#C74DC8
secondary
#9FD29E
accent
#DC4C4D
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C15
muted
#837D83

Preview Lab

Preview with #C74DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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