#C22DAA#C22DAA

#C22DAA is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.5% C 0.223 H 335.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C22DAA
RGBrgb(194, 45, 170)
HSLhsl(310, 62%, 47%)
HSVhsv(310, 77%, 76%)
CMYKcmyk(0%, 76.8%, 12.4%, 23.9%)
CIE-LABlab(47.30, 69.24, -33.57)
CIE-LCHlch(47.30, 76.95, 334.14°)
OKLaboklab(57.53% 0.2029 -0.0917)
OKLCHoklch(57.53% 0.223 335.7)
XYZxyz(30.4427, 16.2512, 39.5559)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22DAA #2DC245
analogous
#8F2DC2 #C22DAA #C22D60
triadic
#C22DAA #AAC22D #2DAAC2
tetradic
#C22DAA #C28F2D #2DC245 #2D60C2
square
#C22DAA #C28F2D #2DC245 #2D60C2
split-complementary
#C22DAA #60C22D #2DC28F
monochromatic
#5F1653 #90217E #C22DAA #D755C2 #E386D4

Accessibility & contrast

On white

4.94
#C22DAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C22DAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22DAA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22DAA#FFFFFF#000000##FFFFFF
##C22DAA1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E62AD
Deuteranopia (green-blind)
#6578A7
Tritanopia (blue-blind)
#CC396A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c22daa;
/* rgb */ color: rgb(194, 45, 170);
/* oklch */ color: oklch(57.5% 0.223 335.7);
Tailwind
colors: {
  custom: {
    50: '#d976c3',
    500: '#c22daa',
    950: '#000000',
  },
}
SCSS
$custom: #c22daa;
$custom-light: #d976c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c22daa",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 170
  },
  "hsl": {
    "h": 309.664,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57528,
    "c": 0.22262,
    "h": 335.7
  },
  "luminance": 0.16248
}

Semantic roles & 50–950 ramp

primary
#C22DAA
secondary
#7ECD8B
accent
#E55D42
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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