#C71CC2#C71CC2

#C71CC2 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.7% C 0.254 H 329.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C71CC2
RGBrgb(199, 28, 194)
HSLhsl(302, 75%, 45%)
HSVhsv(302, 86%, 78%)
CMYKcmyk(0%, 85.9%, 2.5%, 22%)
CIE-LABlab(48.10, 77.63, -46.33)
CIE-LCHlch(48.10, 90.41, 329.17°)
OKLaboklab(58.67% 0.2193 -0.1284)
OKLCHoklch(58.67% 0.254 329.7)
XYZxyz(33.7059, 16.8704, 52.5096)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C71CC2 #1CC721
analogous
#761CC7 #C71CC2 #C71C6D
triadic
#C71CC2 #C2C71C #1CC2C7
tetradic
#C71CC2 #C7761C #1CC721 #1C6DC7
square
#C71CC2 #C7761C #1CC721 #1C6DC7
split-complementary
#C71CC2 #6DC71C #1CC776
monochromatic
#5C0D59 #91148E #C71CC2 #E43DDF #EB72E8

Accessibility & contrast

On white

4.80
#C71CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#C71CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C71CC2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C71CC2#FFFFFF#000000##FFFFFF
##C71CC21.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c71cc2;
/* rgb */ color: rgb(199, 28, 194);
/* oklch */ color: oklch(58.7% 0.254 329.7);
Tailwind
colors: {
  custom: {
    50: '#dd73d5',
    500: '#c71cc2',
    950: '#000000',
  },
}
SCSS
$custom: #c71cc2;
$custom-light: #dd73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c71cc2",
  "rgb": {
    "r": 199,
    "g": 28,
    "b": 194
  },
  "hsl": {
    "h": 301.754,
    "s": 75.33,
    "l": 44.51
  },
  "oklch": {
    "l": 0.58666,
    "c": 0.25408,
    "h": 329.7
  },
  "luminance": 0.16868
}

Semantic roles & 50–950 ramp

primary
#C71CC2
secondary
#6DD270
accent
#F23B36
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C71CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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