#C71ABE#C71ABE

#C71ABE is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.4% C 0.253 H 330.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#C71ABE
RGBrgb(199, 26, 190)
HSLhsl(303, 77%, 44%)
HSVhsv(303, 87%, 78%)
CMYKcmyk(0%, 86.9%, 4.5%, 22%)
CIE-LABlab(47.75, 77.39, -44.54)
CIE-LCHlch(47.75, 89.29, 330.08°)
OKLaboklab(58.35% 0.2204 -0.1232)
OKLCHoklch(58.35% 0.253 330.8)
XYZxyz(33.2168, 16.6014, 50.1602)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C71ABE #1AC723
analogous
#791AC7 #C71ABE #C71A68
triadic
#C71ABE #BEC71A #1ABEC7
tetradic
#C71ABE #C7791A #1AC723 #1A68C7
square
#C71ABE #C7791A #1AC723 #1A68C7
split-complementary
#C71ABE #68C71A #1AC779
monochromatic
#5B0C57 #91138A #C71ABE #E539DC #EC6FE6

Accessibility & contrast

On white

4.86
#C71ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#C71ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C71ABE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C71ABE#FFFFFF#000000##FFFFFF
##C71ABE1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#5A79BA
Tritanopia (blue-blind)
#CF3971
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c71abe;
/* rgb */ color: rgb(199, 26, 190);
/* oklch */ color: oklch(58.4% 0.253 330.8);
Tailwind
colors: {
  custom: {
    50: '#dd72d2',
    500: '#c71abe',
    950: '#000000',
  },
}
SCSS
$custom: #c71abe;
$custom-light: #dd72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c71abe",
  "rgb": {
    "r": 199,
    "g": 26,
    "b": 190
  },
  "hsl": {
    "h": 303.121,
    "s": 76.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.58351,
    "c": 0.25252,
    "h": 330.8
  },
  "luminance": 0.16599
}

Semantic roles & 50–950 ramp

primary
#C71ABE
secondary
#6AD270
accent
#F33E34
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160914
muted
#847B82

Preview Lab

Preview with #C71ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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