#C22DB5#C22DB5

#C22DB5 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.1% C 0.230 H 332.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#C22DB5
RGBrgb(194, 45, 181)
HSLhsl(305, 62%, 47%)
HSVhsv(305, 77%, 76%)
CMYKcmyk(0%, 76.8%, 6.7%, 23.9%)
CIE-LABlab(47.86, 70.85, -39.16)
CIE-LCHlch(47.86, 80.96, 331.07°)
OKLaboklab(58.11% 0.2034 -0.1078)
OKLCHoklch(58.11% 0.23 332.1)
XYZxyz(31.5271, 16.6850, 45.2672)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22DB5 #2DC23A
analogous
#852DC2 #C22DB5 #C22D6B
triadic
#C22DB5 #B5C22D #2DB5C2
tetradic
#C22DB5 #C2852D #2DC23A #2D6BC2
square
#C22DB5 #C2852D #2DC23A #2D6BC2
split-complementary
#C22DB5 #6BC22D #2DC285
monochromatic
#5F1658 #902187 #C22DB5 #D755CC #E386DB

Accessibility & contrast

On white

4.84
#C22DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C22DB5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22DB5#FFFFFF#000000##FFFFFF
##C22DB51.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2164B9
Deuteranopia (green-blind)
#5F79B2
Tritanopia (blue-blind)
#CA3F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c22db5;
/* rgb */ color: rgb(194, 45, 181);
/* oklch */ color: oklch(58.1% 0.230 332.1);
Tailwind
colors: {
  custom: {
    50: '#d977cb',
    500: '#c22db5',
    950: '#000000',
  },
}
SCSS
$custom: #c22db5;
$custom-light: #d977cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c22db5",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 305.235,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58109,
    "c": 0.23021,
    "h": 332.1
  },
  "luminance": 0.16682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C22DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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