#C74CD9#C74CD9

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

Color values

HEX#C74CD9
RGBrgb(199, 76, 217)
HSLhsl(292, 65%, 57%)
HSVhsv(292, 65%, 85%)
CMYKcmyk(8.3%, 65%, 0%, 14.9%)
CIE-LABlab(54.37, 67.16, -49.55)
CIE-LCHlch(54.37, 83.46, 323.58°)
OKLaboklab(63.56% 0.1789 -0.1381)
OKLCHoklch(63.56% 0.226 322.3)
XYZxyz(38.6607, 22.3228, 67.9045)
Luminance0.2232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74CD9 #5ED94C
analogous
#804CD9 #C74CD9 #D94CA5
triadic
#C74CD9 #D9C74C #4CD9C7
tetradic
#C74CD9 #D9804C #5ED94C #4CA5D9
square
#C74CD9 #D9804C #5ED94C #4CA5D9
split-complementary
#C74CD9 #A5D94C #4CD980
monochromatic
#7F1E8D #AC29BF #C74CD9 #D77EE4 #E7B1EE

Accessibility & contrast

On white

3.84
#C74CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#C74CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74CD9
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74CD9#FFFFFF#000000##000000
##C74CD91.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2879DD
Deuteranopia (green-blind)
#5F87D5
Tritanopia (blue-blind)
#CA638C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c74cd9;
/* rgb */ color: rgb(199, 76, 217);
/* oklch */ color: oklch(63.6% 0.226 322.3);
Tailwind
colors: {
  custom: {
    50: '#db87e5',
    500: '#c74cd9',
    950: '#000000',
  },
}
SCSS
$custom: #c74cd9;
$custom-light: #db87e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c74cd9",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 292.34,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63558,
    "c": 0.22601,
    "h": 322.3
  },
  "luminance": 0.22321
}

Semantic roles & 50–950 ramp

primary
#C74CD9
secondary
#ABDDA4
accent
#E84055
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C74CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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