#C74FBC#C74FBC

#C74FBC is a light, vivid purple. Relative luminance 0.214; OKLCH L 62.3% C 0.198 H 331.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#C74FBC
RGBrgb(199, 79, 188)
HSLhsl(306, 52%, 55%)
HSVhsv(306, 60%, 78%)
CMYKcmyk(0%, 60.3%, 5.5%, 22%)
CIE-LABlab(53.35, 60.91, -34.55)
CIE-LCHlch(53.35, 70.03, 330.44°)
OKLaboklab(62.34% 0.1737 -0.0947)
OKLCHoklch(62.34% 0.198 331.4)
XYZxyz(35.4262, 21.3675, 49.8256)
Luminance0.2137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FBC #4FC75A
analogous
#964FC7 #C74FBC #C74F80
triadic
#C74FBC #BCC74F #4FBCC7
tetradic
#C74FBC #C7964F #4FC75A #4F80C7
square
#C74FBC #C7964F #4FC75A #4F80C7
split-complementary
#C74FBC #80C74F #4FC796
monochromatic
#76266F #A4349A #C74FBC #D67DCE #E5ACDF

Accessibility & contrast

On white

3.98
#C74FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#C74FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FBC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FBC#FFFFFF#000000##000000
##C74FBC1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4975BF
Deuteranopia (green-blind)
#7085B9
Tritanopia (blue-blind)
#CF5A7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c74fbc;
/* rgb */ color: rgb(199, 79, 188);
/* oklch */ color: oklch(62.3% 0.198 331.4);
Tailwind
colors: {
  custom: {
    50: '#db87d0',
    500: '#c74fbc',
    950: '#000000',
  },
}
SCSS
$custom: #c74fbc;
$custom-light: #db87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fbc",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 305.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.62343,
    "c": 0.19781,
    "h": 331.4
  },
  "luminance": 0.21365
}

Semantic roles & 50–950 ramp

primary
#C74FBC
secondary
#A0D2A4
accent
#DB5A4D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C74FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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