#C22EB2#C22EB2

#C22EB2 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.0% C 0.227 H 333.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C22EB2
RGBrgb(194, 46, 178)
HSLhsl(306, 62%, 47%)
HSVhsv(306, 76%, 76%)
CMYKcmyk(0%, 76.3%, 8.2%, 23.9%)
CIE-LABlab(47.80, 70.12, -37.49)
CIE-LCHlch(47.80, 79.52, 331.87°)
OKLaboklab(58.02% 0.2025 -0.103)
OKLCHoklch(58.02% 0.227 333)
XYZxyz(31.2612, 16.6404, 43.6763)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22EB2 #2EC23E
analogous
#882EC2 #C22EB2 #C22E68
triadic
#C22EB2 #B2C22E #2EB2C2
tetradic
#C22EB2 #C2882E #2EC23E #2E68C2
square
#C22EB2 #C2882E #2EC23E #2E68C2
split-complementary
#C22EB2 #68C22E #2EC288
monochromatic
#5F1757 #912285 #C22EB2 #D756C9 #E388D9

Accessibility & contrast

On white

4.85
#C22EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#C22EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22EB2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22EB2#FFFFFF#000000##FFFFFF
##C22EB21.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2664B6
Deuteranopia (green-blind)
#6179AF
Tritanopia (blue-blind)
#CB3E6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c22eb2;
/* rgb */ color: rgb(194, 46, 178);
/* oklch */ color: oklch(58.0% 0.227 333.0);
Tailwind
colors: {
  custom: {
    50: '#d977c9',
    500: '#c22eb2',
    950: '#000000',
  },
}
SCSS
$custom: #c22eb2;
$custom-light: #d977c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c22eb2",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 306.486,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58018,
    "c": 0.22717,
    "h": 333
  },
  "luminance": 0.16638
}

Semantic roles & 50–950 ramp

primary
#C22EB2
secondary
#7FCC88
accent
#E55543
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C22EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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