#C74CBB#C74CBB

#C74CBB is a mid, highly saturated purple. Relative luminance 0.209; OKLCH L 62.0% C 0.201 H 331.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#C74CBB
RGBrgb(199, 76, 187)
HSLhsl(306, 52%, 54%)
HSVhsv(306, 62%, 78%)
CMYKcmyk(0%, 61.8%, 6%, 22%)
CIE-LABlab(52.84, 62.02, -34.77)
CIE-LCHlch(52.84, 71.10, 330.72°)
OKLaboklab(61.96% 0.1772 -0.0953)
OKLCHoklch(61.96% 0.201 331.7)
XYZxyz(35.1072, 20.9014, 49.1894)
Luminance0.2090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74CBB #4CC758
analogous
#964CC7 #C74CBB #C74C7E
triadic
#C74CBB #BBC74C #4CBBC7
tetradic
#C74CBB #C7964C #4CC758 #4C7EC7
square
#C74CBB #C7964C #4CC758 #4C7EC7
split-complementary
#C74CBB #7EC74C #4CC796
monochromatic
#74246C #A33398 #C74CBB #D67BCD #E4A9DE

Accessibility & contrast

On white

4.05
#C74CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#C74CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74CBB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74CBB#FFFFFF#000000##000000
##C74CBB1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4673BE
Deuteranopia (green-blind)
#6F84B8
Tritanopia (blue-blind)
#CF577D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c74cbb;
/* rgb */ color: rgb(199, 76, 187);
/* oklch */ color: oklch(62.0% 0.201 331.7);
Tailwind
colors: {
  custom: {
    50: '#db86d0',
    500: '#c74cbb',
    950: '#000000',
  },
}
SCSS
$custom: #c74cbb;
$custom-light: #db86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c74cbb",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 305.854,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61957,
    "c": 0.20121,
    "h": 331.7
  },
  "luminance": 0.20899
}

Semantic roles & 50–950 ramp

primary
#C74CBB
secondary
#9DD2A2
accent
#DC5A4C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C74CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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