#C71CB5#C71CB5

#C71CB5 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.9% C 0.245 H 333.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C71CB5
RGBrgb(199, 28, 181)
HSLhsl(306, 75%, 45%)
HSVhsv(306, 86%, 78%)
CMYKcmyk(0%, 85.9%, 9%, 22%)
CIE-LABlab(47.38, 75.76, -39.87)
CIE-LCHlch(47.38, 85.61, 332.24°)
OKLaboklab(57.93% 0.2196 -0.1096)
OKLCHoklch(57.93% 0.245 333.5)
XYZxyz(32.3092, 16.3118, 45.1540)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C71CB5 #1CC72E
analogous
#841CC7 #C71CB5 #C71C5F
triadic
#C71CB5 #B5C71C #1CB5C7
tetradic
#C71CB5 #C7841C #1CC72E #1C5FC7
square
#C71CB5 #C7841C #1CC72E #1C5FC7
split-complementary
#C71CB5 #5FC71C #1CC784
monochromatic
#5C0D53 #911484 #C71CB5 #E43DD2 #EB72DE

Accessibility & contrast

On white

4.93
#C71CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#C71CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C71CB5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C71CB5#FFFFFF#000000##FFFFFF
##C71CB51.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E61B9
Deuteranopia (green-blind)
#5F79B1
Tritanopia (blue-blind)
#D0346C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c71cb5;
/* rgb */ color: rgb(199, 28, 181);
/* oklch */ color: oklch(57.9% 0.245 333.5);
Tailwind
colors: {
  custom: {
    50: '#dd72cb',
    500: '#c71cb5',
    950: '#000000',
  },
}
SCSS
$custom: #c71cb5;
$custom-light: #dd72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c71cb5",
  "rgb": {
    "r": 199,
    "g": 28,
    "b": 181
  },
  "hsl": {
    "h": 306.316,
    "s": 75.33,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57929,
    "c": 0.24544,
    "h": 333.5
  },
  "luminance": 0.16309
}

Semantic roles & 50–950 ramp

primary
#C71CB5
secondary
#6DD278
accent
#F24A36
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160913
muted
#847B82

Preview Lab

Preview with #C71CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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