#C22FAA#C22FAA

#C22FAA is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.221 H 335.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C22FAA
RGBrgb(194, 47, 170)
HSLhsl(310, 61%, 47%)
HSVhsv(310, 76%, 76%)
CMYKcmyk(0%, 75.8%, 12.4%, 23.9%)
CIE-LABlab(47.50, 68.66, -33.25)
CIE-LCHlch(47.50, 76.29, 334.16°)
OKLaboklab(57.67% 0.2012 -0.0908)
OKLCHoklch(57.67% 0.221 335.7)
XYZxyz(30.5208, 16.4074, 39.5820)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22FAA #2FC247
analogous
#912FC2 #C22FAA #C22F60
triadic
#C22FAA #AAC22F #2FAAC2
tetradic
#C22FAA #C2912F #2FC247 #2F60C2
square
#C22FAA #C2912F #2FC247 #2F60C2
split-complementary
#C22FAA #60C22F #2FC291
monochromatic
#5F1754 #91237F #C22FAA #D658C2 #E289D4

Accessibility & contrast

On white

4.91
#C22FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#C22FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22FAA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22FAA#FFFFFF#000000##FFFFFF
##C22FAA1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3063AD
Deuteranopia (green-blind)
#6578A7
Tritanopia (blue-blind)
#CC3B6A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c22faa;
/* rgb */ color: rgb(194, 47, 170);
/* oklch */ color: oklch(57.7% 0.221 335.7);
Tailwind
colors: {
  custom: {
    50: '#d877c3',
    500: '#c22faa',
    950: '#000000',
  },
}
SCSS
$custom: #c22faa;
$custom-light: #d877c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c22faa",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 309.796,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57673,
    "c": 0.22069,
    "h": 335.7
  },
  "luminance": 0.16405
}

Semantic roles & 50–950 ramp

primary
#C22FAA
secondary
#81CC8D
accent
#E45E44
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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