#C74ED8#C74ED8

#C74ED8 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.7% C 0.223 H 322.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#C74ED8
RGBrgb(199, 78, 216)
HSLhsl(293, 64%, 58%)
HSVhsv(293, 64%, 85%)
CMYKcmyk(7.9%, 63.9%, 0%, 15.3%)
CIE-LABlab(54.61, 66.16, -48.60)
CIE-LCHlch(54.61, 82.09, 323.70°)
OKLaboklab(63.71% 0.1767 -0.1353)
OKLCHoklch(63.71% 0.223 322.6)
XYZxyz(38.6710, 22.5508, 67.2683)
Luminance0.2255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74ED8 #5FD84E
analogous
#824ED8 #C74ED8 #D84EA4
triadic
#C74ED8 #D8C74E #4ED8C7
tetradic
#C74ED8 #D8824E #5FD84E #4EA4D8
square
#C74ED8 #D8824E #5FD84E #4EA4D8
split-complementary
#C74ED8 #A4D84E #4ED882
monochromatic
#7F1F8D #AC2ABF #C74ED8 #D780E3 #E7B2EE

Accessibility & contrast

On white

3.81
#C74ED8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#C74ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74ED8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74ED8#FFFFFF#000000##000000
##C74ED81.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7ADC
Deuteranopia (green-blind)
#6187D4
Tritanopia (blue-blind)
#CA648C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c74ed8;
/* rgb */ color: rgb(199, 78, 216);
/* oklch */ color: oklch(63.7% 0.223 322.6);
Tailwind
colors: {
  custom: {
    50: '#db88e4',
    500: '#c74ed8',
    950: '#000000',
  },
}
SCSS
$custom: #c74ed8;
$custom-light: #db88e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ed8",
  "rgb": {
    "r": 199,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 292.609,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63713,
    "c": 0.22257,
    "h": 322.6
  },
  "luminance": 0.22549
}

Semantic roles & 50–950 ramp

primary
#C74ED8
secondary
#ACDDA5
accent
#E74155
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C74ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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