#C71AC3#C71AC3

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

Color values

HEX#C71AC3
RGBrgb(199, 26, 195)
HSLhsl(301, 77%, 44%)
HSVhsv(301, 87%, 78%)
CMYKcmyk(0%, 86.9%, 2%, 22%)
CIE-LABlab(48.04, 78.12, -47.00)
CIE-LCHlch(48.04, 91.17, 328.97°)
OKLaboklab(58.64% 0.2202 -0.1303)
OKLCHoklch(58.64% 0.256 329.4)
XYZxyz(33.7727, 16.8238, 53.0877)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C71AC3 #1AC71E
analogous
#751AC7 #C71AC3 #C71A6D
triadic
#C71AC3 #C3C71A #1AC3C7
tetradic
#C71AC3 #C7751A #1AC71E #1A6DC7
square
#C71AC3 #C7751A #1AC71E #1A6DC7
split-complementary
#C71AC3 #6DC71A #1AC775
monochromatic
#5B0C59 #91138E #C71AC3 #E539E1 #EC6FE9

Accessibility & contrast

On white

4.81
#C71AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C71AC3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C71AC3#FFFFFF#000000##FFFFFF
##C71AC31.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c71ac3;
/* rgb */ color: rgb(199, 26, 195);
/* oklch */ color: oklch(58.6% 0.256 329.4);
Tailwind
colors: {
  custom: {
    50: '#dd73d6',
    500: '#c71ac3',
    950: '#000000',
  },
}
SCSS
$custom: #c71ac3;
$custom-light: #dd73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#c71ac3",
  "rgb": {
    "r": 199,
    "g": 26,
    "b": 195
  },
  "hsl": {
    "h": 301.387,
    "s": 76.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.58643,
    "c": 0.25587,
    "h": 329.4
  },
  "luminance": 0.16821
}

Semantic roles & 50–950 ramp

primary
#C71AC3
secondary
#6AD26D
accent
#F33934
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C71AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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