#C74BB3#C74BB3

#C74BB3 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.5% C 0.196 H 334.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#C74BB3
RGBrgb(199, 75, 179)
HSLhsl(310, 53%, 54%)
HSVhsv(310, 62%, 78%)
CMYKcmyk(0%, 62.3%, 10.1%, 22%)
CIE-LABlab(52.32, 61.16, -30.94)
CIE-LCHlch(52.32, 68.54, 333.17°)
OKLaboklab(61.46% 0.1774 -0.0843)
OKLCHoklch(61.46% 0.196 334.6)
XYZxyz(34.2062, 20.4316, 44.7812)
Luminance0.2043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74BB3 #4BC75F
analogous
#9D4BC7 #C74BB3 #C74B75
triadic
#C74BB3 #B3C74B #4BB3C7
tetradic
#C74BB3 #C79D4B #4BC75F #4B75C7
square
#C74BB3 #C79D4B #4BC75F #4B75C7
split-complementary
#C74BB3 #75C74B #4BC79D
monochromatic
#742467 #A23290 #C74BB3 #D67AC7 #E4A8DA

Accessibility & contrast

On white

4.13
#C74BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#C74BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74BB3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74BB3#FFFFFF#000000##000000
##C74BB31.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B6
Deuteranopia (green-blind)
#7283B0
Tritanopia (blue-blind)
#D05378
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c74bb3;
/* rgb */ color: rgb(199, 75, 179);
/* oklch */ color: oklch(61.5% 0.196 334.6);
Tailwind
colors: {
  custom: {
    50: '#db85ca',
    500: '#c74bb3',
    950: '#000000',
  },
}
SCSS
$custom: #c74bb3;
$custom-light: #db85ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c74bb3",
  "rgb": {
    "r": 199,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 309.677,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61458,
    "c": 0.19644,
    "h": 334.6
  },
  "luminance": 0.20429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C74BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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