#C22EAC#C22EAC

#C22EAC is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.223 H 335.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C22EAC
RGBrgb(194, 46, 172)
HSLhsl(309, 62%, 47%)
HSVhsv(309, 76%, 76%)
CMYKcmyk(0%, 76.3%, 11.3%, 23.9%)
CIE-LABlab(47.50, 69.24, -34.44)
CIE-LCHlch(47.50, 77.33, 333.56°)
OKLaboklab(57.7% 0.2022 -0.0942)
OKLCHoklch(57.7% 0.223 335)
XYZxyz(30.6719, 16.4047, 40.5728)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22EAC #2EC244
analogous
#8E2EC2 #C22EAC #C22E62
triadic
#C22EAC #ACC22E #2EACC2
tetradic
#C22EAC #C28E2E #2EC244 #2E62C2
square
#C22EAC #C28E2E #2EC244 #2E62C2
split-complementary
#C22EAC #62C22E #2EC28E
monochromatic
#5F1754 #912280 #C22EAC #D756C4 #E388D5

Accessibility & contrast

On white

4.91
#C22EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#C22EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22EAC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22EAC#FFFFFF#000000##FFFFFF
##C22EAC1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D63AF
Deuteranopia (green-blind)
#6478A9
Tritanopia (blue-blind)
#CC3B6B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c22eac;
/* rgb */ color: rgb(194, 46, 172);
/* oklch */ color: oklch(57.7% 0.223 335.0);
Tailwind
colors: {
  custom: {
    50: '#d977c5',
    500: '#c22eac',
    950: '#000000',
  },
}
SCSS
$custom: #c22eac;
$custom-light: #d977c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c22eac",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 308.919,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57703,
    "c": 0.22302,
    "h": 335
  },
  "luminance": 0.16402
}

Semantic roles & 50–950 ramp

primary
#C22EAC
secondary
#7FCC8B
accent
#E55B43
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C22EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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