#C22CC9#C22CC9

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

Color values

HEX#C22CC9
RGBrgb(194, 44, 201)
HSLhsl(297, 64%, 48%)
HSVhsv(297, 78%, 79%)
CMYKcmyk(3.5%, 78.1%, 0%, 21.2%)
CIE-LABlab(48.87, 74.24, -49.20)
CIE-LCHlch(48.87, 89.06, 326.47°)
OKLaboklab(59.19% 0.2038 -0.1369)
OKLCHoklch(59.19% 0.246 326.1)
XYZxyz(33.6908, 17.4901, 56.8484)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22CC9 #33C92C
analogous
#732CC9 #C22CC9 #C92C81
triadic
#C22CC9 #C9C22C #2CC9C2
tetradic
#C22CC9 #C9732C #33C92C #2C81C9
square
#C22CC9 #C9732C #33C92C #2C81C9
split-complementary
#C22CC9 #81C92C #2CC973
monochromatic
#611665 #922197 #C22CC9 #D558DA #E18AE5

Accessibility & contrast

On white

4.67
#C22CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#C22CC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C22CC9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22CC9#FFFFFF#000000##FFFFFF
##C22CC91.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CD
Deuteranopia (green-blind)
#537AC5
Tritanopia (blue-blind)
#C7497B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c22cc9;
/* rgb */ color: rgb(194, 44, 201);
/* oklch */ color: oklch(59.2% 0.246 326.1);
Tailwind
colors: {
  custom: {
    50: '#d977da',
    500: '#c22cc9',
    950: '#000000',
  },
}
SCSS
$custom: #c22cc9;
$custom-light: #d977da;
$custom-dark: #000000;
JSON
{
  "hex": "#c22cc9",
  "rgb": {
    "r": 194,
    "g": 44,
    "b": 201
  },
  "hsl": {
    "h": 297.325,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.59185,
    "c": 0.24554,
    "h": 326.1
  },
  "luminance": 0.17488
}

Semantic roles & 50–950 ramp

primary
#C22CC9
secondary
#85CF82
accent
#E74148
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #C22CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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