#C71AC5#C71AC5

#C71AC5 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.8% C 0.257 H 328.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C71AC5
RGBrgb(199, 26, 197)
HSLhsl(301, 77%, 44%)
HSVhsv(301, 87%, 78%)
CMYKcmyk(0%, 86.9%, 1%, 22%)
CIE-LABlab(48.15, 78.42, -47.98)
CIE-LCHlch(48.15, 91.93, 328.54°)
OKLaboklab(58.76% 0.2201 -0.1332)
OKLCHoklch(58.76% 0.257 328.8)
XYZxyz(34.0003, 16.9148, 54.2866)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C71AC5 #1AC71C
analogous
#731AC7 #C71AC5 #C71A6E
triadic
#C71AC5 #C5C71A #1AC5C7
tetradic
#C71AC5 #C7731A #1AC71C #1A6EC7
square
#C71AC5 #C7731A #1AC71C #1A6EC7
split-complementary
#C71AC5 #6EC71A #1AC773
monochromatic
#5B0C5A #91138F #C71AC5 #E539E3 #EC6FEB

Accessibility & contrast

On white

4.79
#C71AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C71AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C71AC5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C71AC5#FFFFFF#000000##FFFFFF
##C71AC51.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#557AC1
Tritanopia (blue-blind)
#CE3D76
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c71ac5;
/* rgb */ color: rgb(199, 26, 197);
/* oklch */ color: oklch(58.8% 0.257 328.8);
Tailwind
colors: {
  custom: {
    50: '#dd73d7',
    500: '#c71ac5',
    950: '#000000',
  },
}
SCSS
$custom: #c71ac5;
$custom-light: #dd73d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c71ac5",
  "rgb": {
    "r": 199,
    "g": 26,
    "b": 197
  },
  "hsl": {
    "h": 300.694,
    "s": 76.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.58761,
    "c": 0.25722,
    "h": 328.8
  },
  "luminance": 0.16912
}

Semantic roles & 50–950 ramp

primary
#C71AC5
secondary
#6AD26C
accent
#F33734
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C71AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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