#C74CBF#C74CBF

#C74CBF is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.2% C 0.204 H 330.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#C74CBF
RGBrgb(199, 76, 191)
HSLhsl(304, 52%, 54%)
HSVhsv(304, 62%, 78%)
CMYKcmyk(0%, 61.8%, 4%, 22%)
CIE-LABlab(53.03, 62.67, -36.78)
CIE-LCHlch(53.03, 72.67, 329.59°)
OKLaboklab(62.16% 0.1777 -0.1011)
OKLCHoklch(62.16% 0.204 330.4)
XYZxyz(35.5414, 21.0751, 51.4761)
Luminance0.2107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74CBF #4CC754
analogous
#924CC7 #C74CBF #C74C82
triadic
#C74CBF #BFC74C #4CBFC7
tetradic
#C74CBF #C7924C #4CC754 #4C82C7
square
#C74CBF #C7924C #4CC754 #4C82C7
split-complementary
#C74CBF #82C74C #4CC792
monochromatic
#74246F #A3339C #C74CBF #D67BD0 #E4A9E0

Accessibility & contrast

On white

4.03
#C74CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#C74CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74CBF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74CBF#FFFFFF#000000##000000
##C74CBF1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4374C2
Deuteranopia (green-blind)
#6D85BC
Tritanopia (blue-blind)
#CE597F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c74cbf;
/* rgb */ color: rgb(199, 76, 191);
/* oklch */ color: oklch(62.2% 0.204 330.4);
Tailwind
colors: {
  custom: {
    50: '#db86d2',
    500: '#c74cbf',
    950: '#000000',
  },
}
SCSS
$custom: #c74cbf;
$custom-light: #db86d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c74cbf",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 303.902,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62157,
    "c": 0.20438,
    "h": 330.4
  },
  "luminance": 0.21073
}

Semantic roles & 50–950 ramp

primary
#C74CBF
secondary
#9DD2A1
accent
#DC554C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C74CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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