#C22EB1#C22EB1

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

Color values

HEX#C22EB1
RGBrgb(194, 46, 177)
HSLhsl(307, 62%, 47%)
HSVhsv(307, 76%, 76%)
CMYKcmyk(0%, 76.3%, 8.8%, 23.9%)
CIE-LABlab(47.75, 69.97, -36.99)
CIE-LCHlch(47.75, 79.15, 332.14°)
OKLaboklab(57.97% 0.2024 -0.1015)
OKLCHoklch(57.97% 0.226 333.4)
XYZxyz(31.1612, 16.6004, 43.1495)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22EB1 #2EC23F
analogous
#892EC2 #C22EB1 #C22E67
triadic
#C22EB1 #B1C22E #2EB1C2
tetradic
#C22EB1 #C2892E #2EC23F #2E67C2
square
#C22EB1 #C2892E #2EC23F #2E67C2
split-complementary
#C22EB1 #67C22E #2EC289
monochromatic
#5F1757 #912284 #C22EB1 #D756C8 #E388D8

Accessibility & contrast

On white

4.86
#C22EB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#C22EB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22EB1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22EB1#FFFFFF#000000##FFFFFF
##C22EB11.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2864B4
Deuteranopia (green-blind)
#6279AE
Tritanopia (blue-blind)
#CB3E6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c22eb1;
/* rgb */ color: rgb(194, 46, 177);
/* oklch */ color: oklch(58.0% 0.226 333.4);
Tailwind
colors: {
  custom: {
    50: '#d977c9',
    500: '#c22eb1',
    950: '#000000',
  },
}
SCSS
$custom: #c22eb1;
$custom-light: #d977c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c22eb1",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 177
  },
  "hsl": {
    "h": 306.892,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57965,
    "c": 0.22646,
    "h": 333.4
  },
  "luminance": 0.16598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C22EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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