#C74ED9#C74ED9

#C74ED9 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.8% C 0.223 H 322.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#C74ED9
RGBrgb(199, 78, 217)
HSLhsl(292, 65%, 58%)
HSVhsv(292, 64%, 85%)
CMYKcmyk(8.3%, 64.1%, 0%, 14.9%)
CIE-LABlab(54.66, 66.34, -49.08)
CIE-LCHlch(54.66, 82.52, 323.50°)
OKLaboklab(63.77% 0.1767 -0.1367)
OKLCHoklch(63.77% 0.223 322.3)
XYZxyz(38.8007, 22.6027, 67.9512)
Luminance0.2260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74ED9 #60D94E
analogous
#814ED9 #C74ED9 #D94EA6
triadic
#C74ED9 #D9C74E #4ED9C7
tetradic
#C74ED9 #D9814E #60D94E #4EA6D9
square
#C74ED9 #D9814E #60D94E #4EA6D9
split-complementary
#C74ED9 #A6D94E #4ED981
monochromatic
#801F8E #AD29C0 #C74ED9 #D780E4 #E7B3EF

Accessibility & contrast

On white

3.80
#C74ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#C74ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74ED9
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74ED9#FFFFFF#000000##000000
##C74ED91.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7ADD
Deuteranopia (green-blind)
#6087D5
Tritanopia (blue-blind)
#C9648D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c74ed9;
/* rgb */ color: rgb(199, 78, 217);
/* oklch */ color: oklch(63.8% 0.223 322.3);
Tailwind
colors: {
  custom: {
    50: '#db88e5',
    500: '#c74ed9',
    950: '#000000',
  },
}
SCSS
$custom: #c74ed9;
$custom-light: #db88e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ed9",
  "rgb": {
    "r": 199,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 292.23,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6377,
    "c": 0.22343,
    "h": 322.3
  },
  "luminance": 0.22601
}

Semantic roles & 50–950 ramp

primary
#C74ED9
secondary
#ADDDA6
accent
#E84056
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C74ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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