#C22DC9#C22DC9

#C22DC9 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.3% C 0.245 H 326.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C22DC9
RGBrgb(194, 45, 201)
HSLhsl(297, 63%, 48%)
HSVhsv(297, 78%, 79%)
CMYKcmyk(3.5%, 77.6%, 0%, 21.2%)
CIE-LABlab(48.96, 73.97, -49.05)
CIE-LCHlch(48.96, 88.75, 326.45°)
OKLaboklab(59.25% 0.2031 -0.1365)
OKLCHoklch(59.25% 0.245 326.1)
XYZxyz(33.7285, 17.5655, 56.8610)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22DC9 #34C92D
analogous
#742DC9 #C22DC9 #C92D82
triadic
#C22DC9 #C9C22D #2DC9C2
tetradic
#C22DC9 #C9742D #34C92D #2D82C9
square
#C22DC9 #C9742D #34C92D #2D82C9
split-complementary
#C22DC9 #82C92D #2DC974
monochromatic
#611765 #922297 #C22DC9 #D459DA #E18BE5

Accessibility & contrast

On white

4.65
#C22DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C22DC9
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22DC9#FFFFFF#000000##FFFFFF
##C22DC91.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CD
Deuteranopia (green-blind)
#547BC5
Tritanopia (blue-blind)
#C74A7B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c22dc9;
/* rgb */ color: rgb(194, 45, 201);
/* oklch */ color: oklch(59.3% 0.245 326.1);
Tailwind
colors: {
  custom: {
    50: '#d978da',
    500: '#c22dc9',
    950: '#000000',
  },
}
SCSS
$custom: #c22dc9;
$custom-light: #d978da;
$custom-dark: #000000;
JSON
{
  "hex": "#c22dc9",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 297.308,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.59252,
    "c": 0.24468,
    "h": 326.1
  },
  "luminance": 0.17563
}

Semantic roles & 50–950 ramp

primary
#C22DC9
secondary
#86CF83
accent
#E64149
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #C22DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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