#C74BBD#C74BBD

#C74BBD is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.9% C 0.204 H 331.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#C74BBD
RGBrgb(199, 75, 189)
HSLhsl(305, 53%, 54%)
HSVhsv(305, 62%, 78%)
CMYKcmyk(0%, 62.3%, 5%, 22%)
CIE-LABlab(52.79, 62.76, -36.01)
CIE-LCHlch(52.79, 72.36, 330.15°)
OKLaboklab(61.95% 0.1786 -0.0988)
OKLCHoklch(61.95% 0.204 331)
XYZxyz(35.2544, 20.8509, 50.3020)
Luminance0.2085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74BBD #4BC755
analogous
#934BC7 #C74BBD #C74B7F
triadic
#C74BBD #BDC74B #4BBDC7
tetradic
#C74BBD #C7934B #4BC755 #4B7FC7
square
#C74BBD #C7934B #4BC755 #4B7FC7
split-complementary
#C74BBD #7FC74B #4BC793
monochromatic
#74246D #A23299 #C74BBD #D67ACE #E4A8DF

Accessibility & contrast

On white

4.06
#C74BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#C74BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74BBD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74BBD#FFFFFF#000000##000000
##C74BBD1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4373C0
Deuteranopia (green-blind)
#6D84BA
Tritanopia (blue-blind)
#CF577D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c74bbd;
/* rgb */ color: rgb(199, 75, 189);
/* oklch */ color: oklch(61.9% 0.204 331.0);
Tailwind
colors: {
  custom: {
    50: '#db85d1',
    500: '#c74bbd',
    950: '#000000',
  },
}
SCSS
$custom: #c74bbd;
$custom-light: #db85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c74bbd",
  "rgb": {
    "r": 199,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 304.839,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61947,
    "c": 0.20416,
    "h": 331
  },
  "luminance": 0.20848
}

Semantic roles & 50–950 ramp

primary
#C74BBD
secondary
#9CD1A1
accent
#DC574C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C74BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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