#C22EB9#C22EB9

#C22EB9 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.4% C 0.232 H 330.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C22EB9
RGBrgb(194, 46, 185)
HSLhsl(304, 62%, 47%)
HSVhsv(304, 76%, 76%)
CMYKcmyk(0%, 76.3%, 4.6%, 23.9%)
CIE-LABlab(48.17, 71.18, -41.02)
CIE-LCHlch(48.17, 82.15, 330.05°)
OKLaboklab(58.4% 0.2027 -0.1132)
OKLCHoklch(58.4% 0.232 330.8)
XYZxyz(31.9820, 16.9287, 47.4727)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22EB9 #2EC237
analogous
#812EC2 #C22EB9 #C22E6F
triadic
#C22EB9 #B9C22E #2EB9C2
tetradic
#C22EB9 #C2812E #2EC237 #2E6FC2
square
#C22EB9 #C2812E #2EC237 #2E6FC2
split-complementary
#C22EB9 #6FC22E #2EC281
monochromatic
#5F175B #91228A #C22EB9 #D756CF #E388DD

Accessibility & contrast

On white

4.79
#C22EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C22EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22EB9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22EB9#FFFFFF#000000##FFFFFF
##C22EB91.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C65BD
Deuteranopia (green-blind)
#5E79B5
Tritanopia (blue-blind)
#CA4272
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c22eb9;
/* rgb */ color: rgb(194, 46, 185);
/* oklch */ color: oklch(58.4% 0.232 330.8);
Tailwind
colors: {
  custom: {
    50: '#d977ce',
    500: '#c22eb9',
    950: '#000000',
  },
}
SCSS
$custom: #c22eb9;
$custom-light: #d977ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c22eb9",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 303.649,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58399,
    "c": 0.23211,
    "h": 330.8
  },
  "luminance": 0.16926
}

Semantic roles & 50–950 ramp

primary
#C22EB9
secondary
#7FCC84
accent
#E54D43
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C22EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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