#C74FBB#C74FBB

#C74FBB is a light, vivid purple. Relative luminance 0.213; OKLCH L 62.3% C 0.197 H 331.8°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#C74FBB
RGBrgb(199, 79, 187)
HSLhsl(306, 52%, 55%)
HSVhsv(306, 60%, 78%)
CMYKcmyk(0%, 60.3%, 6%, 22%)
CIE-LABlab(53.30, 60.75, -34.05)
CIE-LCHlch(53.30, 69.64, 330.73°)
OKLaboklab(62.29% 0.1736 -0.0932)
OKLCHoklch(62.29% 0.197 331.8)
XYZxyz(35.3187, 21.3245, 49.2599)
Luminance0.2132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FBB #4FC75B
analogous
#974FC7 #C74FBB #C74F7F
triadic
#C74FBB #BBC74F #4FBBC7
tetradic
#C74FBB #C7974F #4FC75B #4F7FC7
square
#C74FBB #C7974F #4FC75B #4F7FC7
split-complementary
#C74FBB #7FC74F #4FC797
monochromatic
#76266E #A43499 #C74FBB #D67DCD #E5ACDF

Accessibility & contrast

On white

3.99
#C74FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#C74FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FBB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FBB#FFFFFF#000000##000000
##C74FBB1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4974BE
Deuteranopia (green-blind)
#7185B8
Tritanopia (blue-blind)
#CF5A7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c74fbb;
/* rgb */ color: rgb(199, 79, 187);
/* oklch */ color: oklch(62.3% 0.197 331.8);
Tailwind
colors: {
  custom: {
    50: '#db87d0',
    500: '#c74fbb',
    950: '#000000',
  },
}
SCSS
$custom: #c74fbb;
$custom-light: #db87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fbb",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 306,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.62294,
    "c": 0.19701,
    "h": 331.8
  },
  "luminance": 0.21322
}

Semantic roles & 50–950 ramp

primary
#C74FBB
secondary
#A0D2A5
accent
#DB5B4D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C74FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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