#C22EAA#C22EAA

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

Color values

HEX#C22EAA
RGBrgb(194, 46, 170)
HSLhsl(310, 62%, 47%)
HSVhsv(310, 76%, 76%)
CMYKcmyk(0%, 76.3%, 12.4%, 23.9%)
CIE-LABlab(47.40, 68.96, -33.41)
CIE-LCHlch(47.40, 76.62, 334.15°)
OKLaboklab(57.6% 0.202 -0.0912)
OKLCHoklch(57.6% 0.222 335.7)
XYZxyz(30.4813, 16.3284, 39.5688)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22EAA #2EC246
analogous
#902EC2 #C22EAA #C22E60
triadic
#C22EAA #AAC22E #2EAAC2
tetradic
#C22EAA #C2902E #2EC246 #2E60C2
square
#C22EAA #C2902E #2EC246 #2E60C2
split-complementary
#C22EAA #60C22E #2EC290
monochromatic
#5F1753 #91227F #C22EAA #D756C2 #E388D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C22EAA#FFFFFF#000000##FFFFFF
##C22EAA1.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)
#2F62AD
Deuteranopia (green-blind)
#6578A7
Tritanopia (blue-blind)
#CC3A6A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c22eaa;
/* rgb */ color: rgb(194, 46, 170);
/* oklch */ color: oklch(57.6% 0.222 335.7);
Tailwind
colors: {
  custom: {
    50: '#d977c3',
    500: '#c22eaa',
    950: '#000000',
  },
}
SCSS
$custom: #c22eaa;
$custom-light: #d977c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c22eaa",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 309.73,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.576,
    "c": 0.22166,
    "h": 335.7
  },
  "luminance": 0.16326
}

Semantic roles & 50–950 ramp

primary
#C22EAA
secondary
#7FCC8C
accent
#E55D43
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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