#C74BB4#C74BB4

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

Color values

HEX#C74BB4
RGBrgb(199, 75, 180)
HSLhsl(309, 53%, 54%)
HSVhsv(309, 62%, 78%)
CMYKcmyk(0%, 62.3%, 9.5%, 22%)
CIE-LABlab(52.37, 61.32, -31.45)
CIE-LCHlch(52.37, 68.91, 332.85°)
OKLaboklab(61.51% 0.1776 -0.0858)
OKLCHoklch(61.51% 0.197 334.2)
XYZxyz(34.3077, 20.4722, 45.3158)
Luminance0.2047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74BB4 #4BC75E
analogous
#9C4BC7 #C74BB4 #C74B76
triadic
#C74BB4 #B4C74B #4BB4C7
tetradic
#C74BB4 #C79C4B #4BC75E #4B76C7
square
#C74BB4 #C79C4B #4BC75E #4B76C7
split-complementary
#C74BB4 #76C74B #4BC79C
monochromatic
#742467 #A23291 #C74BB4 #D67AC7 #E4A8DB

Accessibility & contrast

On white

4.12
#C74BB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C74BB4#FFFFFF#000000##000000
##C74BB41.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4971B7
Deuteranopia (green-blind)
#7184B1
Tritanopia (blue-blind)
#D05479
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c74bb4;
/* rgb */ color: rgb(199, 75, 180);
/* oklch */ color: oklch(61.5% 0.197 334.2);
Tailwind
colors: {
  custom: {
    50: '#db85cb',
    500: '#c74bb4',
    950: '#000000',
  },
}
SCSS
$custom: #c74bb4;
$custom-light: #db85cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c74bb4",
  "rgb": {
    "r": 199,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 309.194,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61506,
    "c": 0.1972,
    "h": 334.2
  },
  "luminance": 0.2047
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C74BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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