#C74BB8#C74BB8

#C74BB8 is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.7% C 0.200 H 332.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C74BB8
RGBrgb(199, 75, 184)
HSLhsl(307, 53%, 54%)
HSVhsv(307, 62%, 78%)
CMYKcmyk(0%, 62.3%, 7.5%, 22%)
CIE-LABlab(52.55, 61.95, -33.49)
CIE-LCHlch(52.55, 70.42, 331.61°)
OKLaboklab(61.7% 0.1781 -0.0916)
OKLCHoklch(61.7% 0.2 332.8)
XYZxyz(34.7211, 20.6376, 47.4928)
Luminance0.2064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74BB8 #4BC75A
analogous
#984BC7 #C74BB8 #C74B7A
triadic
#C74BB8 #B8C74B #4BB8C7
tetradic
#C74BB8 #C7984B #4BC75A #4B7AC7
square
#C74BB8 #C7984B #4BC75A #4B7AC7
split-complementary
#C74BB8 #7AC74B #4BC798
monochromatic
#74246A #A23295 #C74BB8 #D67ACA #E4A8DD

Accessibility & contrast

On white

4.10
#C74BB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#C74BB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74BB8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74BB8#FFFFFF#000000##000000
##C74BB81.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4772BB
Deuteranopia (green-blind)
#7084B5
Tritanopia (blue-blind)
#CF557B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c74bb8;
/* rgb */ color: rgb(199, 75, 184);
/* oklch */ color: oklch(61.7% 0.200 332.8);
Tailwind
colors: {
  custom: {
    50: '#db85cd',
    500: '#c74bb8',
    950: '#000000',
  },
}
SCSS
$custom: #c74bb8;
$custom-light: #db85cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c74bb8",
  "rgb": {
    "r": 199,
    "g": 75,
    "b": 184
  },
  "hsl": {
    "h": 307.258,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61699,
    "c": 0.20026,
    "h": 332.8
  },
  "luminance": 0.20635
}

Semantic roles & 50–950 ramp

primary
#C74BB8
secondary
#9CD1A3
accent
#DC5D4C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #C74BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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