#C22DB1#C22DB1

#C22DB1 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.9% C 0.227 H 333.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C22DB1
RGBrgb(194, 45, 177)
HSLhsl(307, 62%, 47%)
HSVhsv(307, 77%, 76%)
CMYKcmyk(0%, 76.8%, 8.8%, 23.9%)
CIE-LABlab(47.65, 70.26, -37.14)
CIE-LCHlch(47.65, 79.47, 332.14°)
OKLaboklab(57.89% 0.2033 -0.102)
OKLCHoklch(57.89% 0.227 333.4)
XYZxyz(31.1226, 16.5231, 43.1366)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22DB1 #2DC23E
analogous
#892DC2 #C22DB1 #C22D66
triadic
#C22DB1 #B1C22D #2DB1C2
tetradic
#C22DB1 #C2892D #2DC23E #2D66C2
square
#C22DB1 #C2892D #2DC23E #2D66C2
split-complementary
#C22DB1 #66C22D #2DC289
monochromatic
#5F1656 #902184 #C22DB1 #D755C9 #E386D8

Accessibility & contrast

On white

4.88
#C22DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#C22DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22DB1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22DB1#FFFFFF#000000##FFFFFF
##C22DB11.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2663B4
Deuteranopia (green-blind)
#6179AE
Tritanopia (blue-blind)
#CB3D6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c22db1;
/* rgb */ color: rgb(194, 45, 177);
/* oklch */ color: oklch(57.9% 0.227 333.4);
Tailwind
colors: {
  custom: {
    50: '#d977c9',
    500: '#c22db1',
    950: '#000000',
  },
}
SCSS
$custom: #c22db1;
$custom-light: #d977c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c22db1",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 306.846,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57894,
    "c": 0.22741,
    "h": 333.4
  },
  "luminance": 0.1652
}

Semantic roles & 50–950 ramp

primary
#C22DB1
secondary
#7ECD87
accent
#E55542
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C22DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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