#C71AC2#C71AC2

#C71AC2 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.6% C 0.255 H 329.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C71AC2
RGBrgb(199, 26, 194)
HSLhsl(302, 77%, 44%)
HSVhsv(302, 87%, 78%)
CMYKcmyk(0%, 86.9%, 2.5%, 22%)
CIE-LABlab(47.98, 77.97, -46.51)
CIE-LCHlch(47.98, 90.79, 329.18°)
OKLaboklab(58.58% 0.2202 -0.1289)
OKLCHoklch(58.58% 0.255 329.7)
XYZxyz(33.6600, 16.7787, 52.4943)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C71AC2 #1AC71F
analogous
#761AC7 #C71AC2 #C71A6C
triadic
#C71AC2 #C2C71A #1AC2C7
tetradic
#C71AC2 #C7761A #1AC71F #1A6CC7
square
#C71AC2 #C7761A #1AC71F #1A6CC7
split-complementary
#C71AC2 #6CC71A #1AC776
monochromatic
#5B0C58 #91138D #C71AC2 #E539E0 #EC6FE9

Accessibility & contrast

On white

4.82
#C71AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C71AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C71AC2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C71AC2#FFFFFF#000000##FFFFFF
##C71AC21.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#5779BE
Tritanopia (blue-blind)
#CE3C74
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c71ac2;
/* rgb */ color: rgb(199, 26, 194);
/* oklch */ color: oklch(58.6% 0.255 329.7);
Tailwind
colors: {
  custom: {
    50: '#dd73d5',
    500: '#c71ac2',
    950: '#000000',
  },
}
SCSS
$custom: #c71ac2;
$custom-light: #dd73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c71ac2",
  "rgb": {
    "r": 199,
    "g": 26,
    "b": 194
  },
  "hsl": {
    "h": 301.734,
    "s": 76.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.58584,
    "c": 0.25519,
    "h": 329.7
  },
  "luminance": 0.16776
}

Semantic roles & 50–950 ramp

primary
#C71AC2
secondary
#6AD26D
accent
#F33A34
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160914
muted
#847B83

Preview Lab

Preview with #C71AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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