#C22DB7#C22DB7

#C22DB7 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.2% C 0.232 H 331.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C22DB7
RGBrgb(194, 45, 183)
HSLhsl(304, 62%, 47%)
HSVhsv(304, 77%, 76%)
CMYKcmyk(0%, 76.8%, 5.7%, 23.9%)
CIE-LABlab(47.97, 71.15, -40.17)
CIE-LCHlch(47.97, 81.71, 330.55°)
OKLaboklab(58.22% 0.2034 -0.1107)
OKLCHoklch(58.22% 0.232 331.4)
XYZxyz(31.7338, 16.7676, 46.3557)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22DB7 #2DC238
analogous
#832DC2 #C22DB7 #C22D6C
triadic
#C22DB7 #B7C22D #2DB7C2
tetradic
#C22DB7 #C2832D #2DC238 #2D6CC2
square
#C22DB7 #C2832D #2DC238 #2D6CC2
split-complementary
#C22DB7 #6CC22D #2DC283
monochromatic
#5F1659 #902188 #C22DB7 #D755CE #E386DC

Accessibility & contrast

On white

4.82
#C22DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#C22DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22DB7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22DB7#FFFFFF#000000##FFFFFF
##C22DB71.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E65BB
Deuteranopia (green-blind)
#5E79B3
Tritanopia (blue-blind)
#CA4071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c22db7;
/* rgb */ color: rgb(194, 45, 183);
/* oklch */ color: oklch(58.2% 0.232 331.4);
Tailwind
colors: {
  custom: {
    50: '#d977cd',
    500: '#c22db7',
    950: '#000000',
  },
}
SCSS
$custom: #c22db7;
$custom-light: #d977cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c22db7",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 304.43,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58218,
    "c": 0.23162,
    "h": 331.4
  },
  "luminance": 0.16765
}

Semantic roles & 50–950 ramp

primary
#C22DB7
secondary
#7ECD84
accent
#E54E42
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C22DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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