#C74FB5#C74FB5

#C74FB5 is a light, vivid purple. Relative luminance 0.211; OKLCH L 62.0% C 0.192 H 333.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#C74FB5
RGBrgb(199, 79, 181)
HSLhsl(309, 52%, 55%)
HSVhsv(309, 60%, 78%)
CMYKcmyk(0%, 60.3%, 9%, 22%)
CIE-LABlab(53.03, 59.78, -31.00)
CIE-LCHlch(53.03, 67.34, 332.59°)
OKLaboklab(62% 0.1728 -0.0845)
OKLCHoklch(62% 0.192 333.9)
XYZxyz(34.6898, 21.0729, 45.9475)
Luminance0.2107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FB5 #4FC761
analogous
#9D4FC7 #C74FB5 #C74F79
triadic
#C74FB5 #B5C74F #4FB5C7
tetradic
#C74FB5 #C79D4F #4FC761 #4F79C7
square
#C74FB5 #C79D4F #4FC761 #4F79C7
split-complementary
#C74FB5 #79C74F #4FC79D
monochromatic
#76266A #A43494 #C74FB5 #D67DC9 #E5ACDC

Accessibility & contrast

On white

4.03
#C74FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#C74FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FB5
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FB5#FFFFFF#000000##000000
##C74FB51.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D73B8
Deuteranopia (green-blind)
#7385B2
Tritanopia (blue-blind)
#D0577B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c74fb5;
/* rgb */ color: rgb(199, 79, 181);
/* oklch */ color: oklch(62.0% 0.192 333.9);
Tailwind
colors: {
  custom: {
    50: '#db87cb',
    500: '#c74fb5',
    950: '#000000',
  },
}
SCSS
$custom: #c74fb5;
$custom-light: #db87cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fb5",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 181
  },
  "hsl": {
    "h": 309,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.62004,
    "c": 0.19232,
    "h": 333.9
  },
  "luminance": 0.2107
}

Semantic roles & 50–950 ramp

primary
#C74FB5
secondary
#A0D2A7
accent
#DB624D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C74FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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