#C221A8#C221A8

#C221A8 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.7% C 0.231 H 336.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C221A8
RGBrgb(194, 33, 168)
HSLhsl(310, 71%, 45%)
HSVhsv(310, 83%, 76%)
CMYKcmyk(0%, 83%, 13.4%, 23.9%)
CIE-LABlab(46.16, 71.97, -34.18)
CIE-LCHlch(46.16, 79.67, 334.60°)
OKLaboklab(56.68% 0.2117 -0.0933)
OKLCHoklch(56.68% 0.231 336.2)
XYZxyz(29.8604, 15.3871, 38.4356)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C221A8 #21C23B
analogous
#8B21C2 #C221A8 #C22158
triadic
#C221A8 #A8C221 #21A8C2
tetradic
#C221A8 #C28B21 #21C23B #2158C2
square
#C221A8 #C28B21 #21C23B #2158C2
split-complementary
#C221A8 #58C221 #21C28B
monochromatic
#590F4D #8E187B #C221A8 #DF41C5 #E876D5

Accessibility & contrast

On white

5.15
#C221A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#C221A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C221A8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C221A8#FFFFFF#000000##FFFFFF
##C221A81.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245EAB
Deuteranopia (green-blind)
#6276A4
Tritanopia (blue-blind)
#CC3066
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c221a8;
/* rgb */ color: rgb(194, 33, 168);
/* oklch */ color: oklch(56.7% 0.231 336.2);
Tailwind
colors: {
  custom: {
    50: '#d972c2',
    500: '#c221a8',
    950: '#000000',
  },
}
SCSS
$custom: #c221a8;
$custom-light: #d972c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c221a8",
  "rgb": {
    "r": 194,
    "g": 33,
    "b": 168
  },
  "hsl": {
    "h": 309.689,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56677,
    "c": 0.23139,
    "h": 336.2
  },
  "luminance": 0.15384
}

Semantic roles & 50–950 ramp

primary
#C221A8
secondary
#70CF7F
accent
#EE573A
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150912
muted
#837B81

Preview Lab

Preview with #C221A8

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

Preview Lab → · Contrast checker → · Palette generator →

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