#C74CD8#C74CD8

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

Color values

HEX#C74CD8
RGBrgb(199, 76, 216)
HSLhsl(293, 64%, 57%)
HSVhsv(293, 65%, 85%)
CMYKcmyk(7.9%, 64.8%, 0%, 15.3%)
CIE-LABlab(54.31, 66.98, -49.07)
CIE-LCHlch(54.31, 83.03, 323.77°)
OKLaboklab(63.5% 0.1789 -0.1366)
OKLCHoklch(63.5% 0.225 322.6)
XYZxyz(38.5311, 22.2710, 67.2216)
Luminance0.2227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74CD8 #5DD84C
analogous
#814CD8 #C74CD8 #D84CA3
triadic
#C74CD8 #D8C74C #4CD8C7
tetradic
#C74CD8 #D8814C #5DD84C #4CA3D8
square
#C74CD8 #D8814C #5DD84C #4CA3D8
split-complementary
#C74CD8 #A3D84C #4CD881
monochromatic
#7E1E8B #AC29BE #C74CD8 #D77EE3 #E6B1EE

Accessibility & contrast

On white

3.85
#C74CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#C74CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74CD8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74CD8#FFFFFF#000000##000000
##C74CD81.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2979DC
Deuteranopia (green-blind)
#5F87D4
Tritanopia (blue-blind)
#CA638C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c74cd8;
/* rgb */ color: rgb(199, 76, 216);
/* oklch */ color: oklch(63.5% 0.225 322.6);
Tailwind
colors: {
  custom: {
    50: '#db87e4',
    500: '#c74cd8',
    950: '#000000',
  },
}
SCSS
$custom: #c74cd8;
$custom-light: #db87e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c74cd8",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 292.714,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63501,
    "c": 0.22514,
    "h": 322.6
  },
  "luminance": 0.22269
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C74CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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