#C74CB3#C74CB3

#C74CB3 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.6% C 0.195 H 334.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C74CB3
RGBrgb(199, 76, 179)
HSLhsl(310, 52%, 54%)
HSVhsv(310, 62%, 78%)
CMYKcmyk(0%, 61.8%, 10.1%, 22%)
CIE-LABlab(52.47, 60.74, -30.70)
CIE-LCHlch(52.47, 68.06, 333.19°)
OKLaboklab(61.57% 0.1762 -0.0836)
OKLCHoklch(61.57% 0.195 334.6)
XYZxyz(34.2745, 20.5684, 44.8040)
Luminance0.2057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74CB3 #4CC760
analogous
#9E4CC7 #C74CB3 #C74C76
triadic
#C74CB3 #B3C74C #4CB3C7
tetradic
#C74CB3 #C79E4C #4CC760 #4C76C7
square
#C74CB3 #C79E4C #4CC760 #4C76C7
split-complementary
#C74CB3 #76C74C #4CC79E
monochromatic
#742467 #A33391 #C74CB3 #D67BC7 #E4A9DB

Accessibility & contrast

On white

4.11
#C74CB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#C74CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74CB3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74CB3#FFFFFF#000000##000000
##C74CB31.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B72B6
Deuteranopia (green-blind)
#7284B0
Tritanopia (blue-blind)
#D05479
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c74cb3;
/* rgb */ color: rgb(199, 76, 179);
/* oklch */ color: oklch(61.6% 0.195 334.6);
Tailwind
colors: {
  custom: {
    50: '#db86ca',
    500: '#c74cb3',
    950: '#000000',
  },
}
SCSS
$custom: #c74cb3;
$custom-light: #db86ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c74cb3",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 309.756,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61569,
    "c": 0.19505,
    "h": 334.6
  },
  "luminance": 0.20566
}

Semantic roles & 50–950 ramp

primary
#C74CB3
secondary
#9DD2A6
accent
#DC634C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C74CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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