#C74BBB#C74BBB

#C74BBB is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.8% C 0.203 H 331.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C74BBB
RGBrgb(199, 75, 187)
HSLhsl(306, 53%, 54%)
HSVhsv(306, 62%, 78%)
CMYKcmyk(0%, 62.3%, 6%, 22%)
CIE-LABlab(52.69, 62.43, -35.01)
CIE-LCHlch(52.69, 71.58, 330.72°)
OKLaboklab(61.85% 0.1784 -0.0959)
OKLCHoklch(61.85% 0.203 331.7)
XYZxyz(35.0389, 20.7647, 49.1666)
Luminance0.2076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74BBB #4BC757
analogous
#954BC7 #C74BBB #C74B7D
triadic
#C74BBB #BBC74B #4BBBC7
tetradic
#C74BBB #C7954B #4BC757 #4B7DC7
square
#C74BBB #C7954B #4BC757 #4B7DC7
split-complementary
#C74BBB #7DC74B #4BC795
monochromatic
#74246C #A23297 #C74BBB #D67ACD #E4A8DE

Accessibility & contrast

On white

4.08
#C74BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#C74BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74BBB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74BBB#FFFFFF#000000##000000
##C74BBB1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4573BE
Deuteranopia (green-blind)
#6E84B8
Tritanopia (blue-blind)
#CF567C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c74bbb;
/* rgb */ color: rgb(199, 75, 187);
/* oklch */ color: oklch(61.8% 0.203 331.7);
Tailwind
colors: {
  custom: {
    50: '#db85d0',
    500: '#c74bbb',
    950: '#000000',
  },
}
SCSS
$custom: #c74bbb;
$custom-light: #db85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c74bbb",
  "rgb": {
    "r": 199,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 305.806,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61847,
    "c": 0.20259,
    "h": 331.7
  },
  "luminance": 0.20762
}

Semantic roles & 50–950 ramp

primary
#C74BBB
secondary
#9CD1A2
accent
#DC5A4C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C74BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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