#C22CAE#C22CAE

#C22CAE is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.7% C 0.226 H 334.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C22CAE
RGBrgb(194, 44, 174)
HSLhsl(308, 63%, 47%)
HSVhsv(308, 77%, 76%)
CMYKcmyk(0%, 77.3%, 10.3%, 23.9%)
CIE-LABlab(47.40, 70.10, -35.77)
CIE-LCHlch(47.40, 78.70, 332.97°)
OKLaboklab(57.67% 0.204 -0.098)
OKLCHoklch(57.67% 0.226 334.3)
XYZxyz(30.7891, 16.3294, 41.5665)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22CAE #2CC240
analogous
#8B2CC2 #C22CAE #C22C63
triadic
#C22CAE #AEC22C #2CAEC2
tetradic
#C22CAE #C28B2C #2CC240 #2C63C2
square
#C22CAE #C28B2C #2CC240 #2C63C2
split-complementary
#C22CAE #63C22C #2CC28B
monochromatic
#5E1555 #902181 #C22CAE #D853C6 #E385D7

Accessibility & contrast

On white

4.92
#C22CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#C22CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22CAE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22CAE#FFFFFF#000000##FFFFFF
##C22CAE1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2963B1
Deuteranopia (green-blind)
#6278AB
Tritanopia (blue-blind)
#CB3B6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c22cae;
/* rgb */ color: rgb(194, 44, 174);
/* oklch */ color: oklch(57.7% 0.226 334.3);
Tailwind
colors: {
  custom: {
    50: '#d976c6',
    500: '#c22cae',
    950: '#000000',
  },
}
SCSS
$custom: #c22cae;
$custom-light: #d976c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c22cae",
  "rgb": {
    "r": 194,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 308,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57665,
    "c": 0.22627,
    "h": 334.3
  },
  "luminance": 0.16327
}

Semantic roles & 50–950 ramp

primary
#C22CAE
secondary
#7DCD88
accent
#E65842
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C22CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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