#C221BD#C221BD

#C221BD is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.8% C 0.245 H 329.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#C221BD
RGBrgb(194, 33, 189)
HSLhsl(302, 71%, 45%)
HSVhsv(302, 83%, 76%)
CMYKcmyk(0%, 83%, 2.6%, 23.9%)
CIE-LABlab(47.28, 75.00, -44.77)
CIE-LCHlch(47.28, 87.34, 329.17°)
OKLaboklab(57.84% 0.2118 -0.124)
OKLCHoklch(57.84% 0.245 329.7)
XYZxyz(31.9771, 16.2338, 49.5835)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C221BD #21C226
analogous
#7621C2 #C221BD #C2216D
triadic
#C221BD #BDC221 #21BDC2
tetradic
#C221BD #C27621 #21C226 #216DC2
square
#C221BD #C27621 #21C226 #216DC2
split-complementary
#C221BD #6DC221 #21C276
monochromatic
#590F57 #8E188A #C221BD #DF41DA #E876E4

Accessibility & contrast

On white

4.95
#C221BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C221BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C221BD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C221BD#FFFFFF#000000##FFFFFF
##C221BD1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#5777B9
Tritanopia (blue-blind)
#C93D72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c221bd;
/* rgb */ color: rgb(194, 33, 189);
/* oklch */ color: oklch(57.8% 0.245 329.7);
Tailwind
colors: {
  custom: {
    50: '#d973d1',
    500: '#c221bd',
    950: '#000000',
  },
}
SCSS
$custom: #c221bd;
$custom-light: #d973d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c221bd",
  "rgb": {
    "r": 194,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 301.863,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57836,
    "c": 0.24544,
    "h": 329.7
  },
  "luminance": 0.16231
}

Semantic roles & 50–950 ramp

primary
#C221BD
secondary
#70CF73
accent
#EE403A
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #C221BD

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

Preview Lab → · Contrast checker → · Palette generator →

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