#C71AC4#C71AC4

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

Color values

HEX#C71AC4
RGBrgb(199, 26, 196)
HSLhsl(301, 77%, 44%)
HSVhsv(301, 87%, 78%)
CMYKcmyk(0%, 86.9%, 1.5%, 22%)
CIE-LABlab(48.09, 78.27, -47.49)
CIE-LCHlch(48.09, 91.55, 328.75°)
OKLaboklab(58.7% 0.2201 -0.1318)
OKLCHoklch(58.7% 0.257 329.1)
XYZxyz(33.8861, 16.8692, 53.6852)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C71AC4 #1AC71D
analogous
#731AC7 #C71AC4 #C71A6E
triadic
#C71AC4 #C4C71A #1AC4C7
tetradic
#C71AC4 #C7731A #1AC71D #1A6EC7
square
#C71AC4 #C7731A #1AC71D #1A6EC7
split-complementary
#C71AC4 #6EC71A #1AC773
monochromatic
#5B0C59 #91138F #C71AC4 #E539E2 #EC6FEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C71AC4#FFFFFF#000000##FFFFFF
##C71AC41.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)
#0064C8
Deuteranopia (green-blind)
#567AC0
Tritanopia (blue-blind)
#CE3D75
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c71ac4;
/* rgb */ color: rgb(199, 26, 196);
/* oklch */ color: oklch(58.7% 0.257 329.1);
Tailwind
colors: {
  custom: {
    50: '#dd73d6',
    500: '#c71ac4',
    950: '#000000',
  },
}
SCSS
$custom: #c71ac4;
$custom-light: #dd73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#c71ac4",
  "rgb": {
    "r": 199,
    "g": 26,
    "b": 196
  },
  "hsl": {
    "h": 301.04,
    "s": 76.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.58702,
    "c": 0.25654,
    "h": 329.1
  },
  "luminance": 0.16866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C71AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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