#C71AC1#C71AC1

#C71AC1 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.5% C 0.255 H 329.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C71AC1
RGBrgb(199, 26, 193)
HSLhsl(302, 77%, 44%)
HSVhsv(302, 87%, 78%)
CMYKcmyk(0%, 86.9%, 3%, 22%)
CIE-LABlab(47.92, 77.83, -46.02)
CIE-LCHlch(47.92, 90.42, 329.40°)
OKLaboklab(58.53% 0.2203 -0.1275)
OKLCHoklch(58.53% 0.255 329.9)
XYZxyz(33.5481, 16.7339, 51.9048)
Luminance0.1673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C71AC1 #1AC720
analogous
#771AC7 #C71AC1 #C71A6B
triadic
#C71AC1 #C1C71A #1AC1C7
tetradic
#C71AC1 #C7771A #1AC720 #1A6BC7
square
#C71AC1 #C7771A #1AC720 #1A6BC7
split-complementary
#C71AC1 #6BC71A #1AC777
monochromatic
#5B0C58 #91138D #C71AC1 #E539DF #EC6FE8

Accessibility & contrast

On white

4.83
#C71AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#C71AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C71AC1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C71AC1#FFFFFF#000000##FFFFFF
##C71AC11.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#5879BD
Tritanopia (blue-blind)
#CF3B73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c71ac1;
/* rgb */ color: rgb(199, 26, 193);
/* oklch */ color: oklch(58.5% 0.255 329.9);
Tailwind
colors: {
  custom: {
    50: '#dd73d4',
    500: '#c71ac1',
    950: '#000000',
  },
}
SCSS
$custom: #c71ac1;
$custom-light: #dd73d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c71ac1",
  "rgb": {
    "r": 199,
    "g": 26,
    "b": 193
  },
  "hsl": {
    "h": 302.081,
    "s": 76.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.58525,
    "c": 0.25453,
    "h": 329.9
  },
  "luminance": 0.16731
}

Semantic roles & 50–950 ramp

primary
#C71AC1
secondary
#6AD26E
accent
#F33B34
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160914
muted
#847B83

Preview Lab

Preview with #C71AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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