#C22DB6#C22DB6

#C22DB6 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.2% C 0.231 H 331.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C22DB6
RGBrgb(194, 45, 182)
HSLhsl(305, 62%, 47%)
HSVhsv(305, 77%, 76%)
CMYKcmyk(0%, 76.8%, 6.2%, 23.9%)
CIE-LABlab(47.91, 71.00, -39.67)
CIE-LCHlch(47.91, 81.33, 330.81°)
OKLaboklab(58.16% 0.2034 -0.1093)
OKLCHoklch(58.16% 0.231 331.8)
XYZxyz(31.6301, 16.7261, 45.8095)
Luminance0.1672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22DB6 #2DC239
analogous
#842DC2 #C22DB6 #C22D6C
triadic
#C22DB6 #B6C22D #2DB6C2
tetradic
#C22DB6 #C2842D #2DC239 #2D6CC2
square
#C22DB6 #C2842D #2DC239 #2D6CC2
split-complementary
#C22DB6 #6CC22D #2DC284
monochromatic
#5F1659 #902187 #C22DB6 #D755CD #E386DC

Accessibility & contrast

On white

4.83
#C22DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#C22DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22DB6
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22DB6#FFFFFF#000000##FFFFFF
##C22DB61.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F65BA
Deuteranopia (green-blind)
#5F79B2
Tritanopia (blue-blind)
#CA4070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c22db6;
/* rgb */ color: rgb(194, 45, 182);
/* oklch */ color: oklch(58.2% 0.231 331.8);
Tailwind
colors: {
  custom: {
    50: '#d977cc',
    500: '#c22db6',
    950: '#000000',
  },
}
SCSS
$custom: #c22db6;
$custom-light: #d977cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c22db6",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 304.832,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58164,
    "c": 0.23091,
    "h": 331.8
  },
  "luminance": 0.16724
}

Semantic roles & 50–950 ramp

primary
#C22DB6
secondary
#7ECD85
accent
#E55042
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C22DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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