#C22DAB#C22DAB

#C22DAB is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.6% C 0.223 H 335.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C22DAB
RGBrgb(194, 45, 171)
HSLhsl(309, 62%, 47%)
HSVhsv(309, 77%, 76%)
CMYKcmyk(0%, 76.8%, 11.9%, 23.9%)
CIE-LABlab(47.35, 69.39, -34.08)
CIE-LCHlch(47.35, 77.30, 333.84°)
OKLaboklab(57.58% 0.2029 -0.0931)
OKLCHoklch(57.58% 0.223 335.3)
XYZxyz(30.5376, 16.2892, 40.0560)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22DAB #2DC244
analogous
#8F2DC2 #C22DAB #C22D60
triadic
#C22DAB #ABC22D #2DABC2
tetradic
#C22DAB #C28F2D #2DC244 #2D60C2
square
#C22DAB #C28F2D #2DC244 #2D60C2
split-complementary
#C22DAB #60C22D #2DC28F
monochromatic
#5F1653 #90217F #C22DAB #D755C3 #E386D5

Accessibility & contrast

On white

4.93
#C22DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#C22DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22DAB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22DAB#FFFFFF#000000##FFFFFF
##C22DAB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D62AE
Deuteranopia (green-blind)
#6478A8
Tritanopia (blue-blind)
#CC3A6A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c22dab;
/* rgb */ color: rgb(194, 45, 171);
/* oklch */ color: oklch(57.6% 0.223 335.3);
Tailwind
colors: {
  custom: {
    50: '#d977c4',
    500: '#c22dab',
    950: '#000000',
  },
}
SCSS
$custom: #c22dab;
$custom-light: #d977c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c22dab",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 309.262,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57579,
    "c": 0.2233,
    "h": 335.3
  },
  "luminance": 0.16286
}

Semantic roles & 50–950 ramp

primary
#C22DAB
secondary
#7ECD8A
accent
#E55C42
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C22DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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