#C22DB9#C22DB9

#C22DB9 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.3% C 0.233 H 330.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C22DB9
RGBrgb(194, 45, 185)
HSLhsl(304, 62%, 47%)
HSVhsv(304, 77%, 76%)
CMYKcmyk(0%, 76.8%, 4.6%, 23.9%)
CIE-LABlab(48.07, 71.46, -41.17)
CIE-LCHlch(48.07, 82.47, 330.05°)
OKLaboklab(58.33% 0.2035 -0.1136)
OKLCHoklch(58.33% 0.233 330.8)
XYZxyz(31.9434, 16.8515, 47.4598)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22DB9 #2DC236
analogous
#812DC2 #C22DB9 #C22D6F
triadic
#C22DB9 #B9C22D #2DB9C2
tetradic
#C22DB9 #C2812D #2DC236 #2D6FC2
square
#C22DB9 #C2812D #2DC236 #2D6FC2
split-complementary
#C22DB9 #6FC22D #2DC281
monochromatic
#5F165A #90218A #C22DB9 #D755D0 #E386DD

Accessibility & contrast

On white

4.81
#C22DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#C22DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22DB9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22DB9#FFFFFF#000000##FFFFFF
##C22DB91.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c22db9;
/* rgb */ color: rgb(194, 45, 185);
/* oklch */ color: oklch(58.3% 0.233 330.8);
Tailwind
colors: {
  custom: {
    50: '#d977ce',
    500: '#c22db9',
    950: '#000000',
  },
}
SCSS
$custom: #c22db9;
$custom-light: #d977ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c22db9",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 303.624,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58329,
    "c": 0.23304,
    "h": 330.8
  },
  "luminance": 0.16849
}

Semantic roles & 50–950 ramp

primary
#C22DB9
secondary
#7ECD83
accent
#E54C42
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C22DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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