#C74CB5#C74CB5

#C74CB5 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.7% C 0.197 H 333.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C74CB5
RGBrgb(199, 76, 181)
HSLhsl(309, 52%, 54%)
HSVhsv(309, 62%, 78%)
CMYKcmyk(0%, 61.8%, 9%, 22%)
CIE-LABlab(52.56, 61.06, -31.72)
CIE-LCHlch(52.56, 68.81, 332.55°)
OKLaboklab(61.66% 0.1765 -0.0865)
OKLCHoklch(61.66% 0.197 333.9)
XYZxyz(34.4783, 20.6499, 45.8770)
Luminance0.2065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74CB5 #4CC75E
analogous
#9B4CC7 #C74CB5 #C74C78
triadic
#C74CB5 #B5C74C #4CB5C7
tetradic
#C74CB5 #C79B4C #4CC75E #4C78C7
square
#C74CB5 #C79B4C #4CC75E #4C78C7
split-complementary
#C74CB5 #78C74C #4CC79B
monochromatic
#742469 #A33392 #C74CB5 #D67BC8 #E4A9DC

Accessibility & contrast

On white

4.09
#C74CB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#C74CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74CB5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74CB5#FFFFFF#000000##000000
##C74CB51.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A72B8
Deuteranopia (green-blind)
#7184B2
Tritanopia (blue-blind)
#D0557A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c74cb5;
/* rgb */ color: rgb(199, 76, 181);
/* oklch */ color: oklch(61.7% 0.197 333.9);
Tailwind
colors: {
  custom: {
    50: '#db86cb',
    500: '#c74cb5',
    950: '#000000',
  },
}
SCSS
$custom: #c74cb5;
$custom-light: #db86cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c74cb5",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 308.78,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61664,
    "c": 0.19657,
    "h": 333.9
  },
  "luminance": 0.20647
}

Semantic roles & 50–950 ramp

primary
#C74CB5
secondary
#9DD2A5
accent
#DC614C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C74CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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