#C22EC7#C22EC7

#C22EC7 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.2% C 0.242 H 326.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C22EC7
RGBrgb(194, 46, 199)
HSLhsl(298, 62%, 48%)
HSVhsv(298, 77%, 78%)
CMYKcmyk(2.5%, 76.9%, 0%, 22%)
CIE-LABlab(48.94, 73.37, -47.93)
CIE-LCHlch(48.94, 87.64, 326.85°)
OKLaboklab(59.2% 0.2024 -0.1332)
OKLCHoklch(59.2% 0.242 326.6)
XYZxyz(33.5333, 17.5492, 55.6429)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22EC7 #33C72E
analogous
#752EC7 #C22EC7 #C72E7F
triadic
#C22EC7 #C7C22E #2EC7C2
tetradic
#C22EC7 #C7752E #33C72E #2E7FC7
square
#C22EC7 #C7752E #33C72E #2E7FC7
split-complementary
#C22EC7 #7FC72E #2EC775
monochromatic
#611764 #922395 #C22EC7 #D559D9 #E18BE4

Accessibility & contrast

On white

4.66
#C22EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#C22EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C22EC7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22EC7#FFFFFF#000000##FFFFFF
##C22EC71.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#557BC3
Tritanopia (blue-blind)
#C7497A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c22ec7;
/* rgb */ color: rgb(194, 46, 199);
/* oklch */ color: oklch(59.2% 0.242 326.6);
Tailwind
colors: {
  custom: {
    50: '#d978d8',
    500: '#c22ec7',
    950: '#000000',
  },
}
SCSS
$custom: #c22ec7;
$custom-light: #d978d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c22ec7",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 199
  },
  "hsl": {
    "h": 298.039,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.592,
    "c": 0.24232,
    "h": 326.6
  },
  "luminance": 0.17547
}

Semantic roles & 50–950 ramp

primary
#C22EC7
secondary
#85CE83
accent
#E64248
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A15
muted
#837C83

Preview Lab

Preview with #C22EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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