#C22FAC#C22FAC

#C22FAC is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.8% C 0.222 H 335.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C22FAC
RGBrgb(194, 47, 172)
HSLhsl(309, 61%, 47%)
HSVhsv(309, 76%, 76%)
CMYKcmyk(0%, 75.8%, 11.3%, 23.9%)
CIE-LABlab(47.60, 68.95, -34.28)
CIE-LCHlch(47.60, 77.00, 333.57°)
OKLaboklab(57.78% 0.2013 -0.0937)
OKLCHoklch(57.78% 0.222 335)
XYZxyz(30.7114, 16.4837, 40.5859)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22FAC #2FC245
analogous
#8F2FC2 #C22FAC #C22F62
triadic
#C22FAC #ACC22F #2FACC2
tetradic
#C22FAC #C28F2F #2FC245 #2F62C2
square
#C22FAC #C28F2F #2FC245 #2F62C2
split-complementary
#C22FAC #62C22F #2FC28F
monochromatic
#5F1755 #912380 #C22FAC #D658C4 #E289D5

Accessibility & contrast

On white

4.89
#C22FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#C22FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22FAC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22FAC#FFFFFF#000000##FFFFFF
##C22FAC1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E63AF
Deuteranopia (green-blind)
#6479A9
Tritanopia (blue-blind)
#CC3C6B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c22fac;
/* rgb */ color: rgb(194, 47, 172);
/* oklch */ color: oklch(57.8% 0.222 335.0);
Tailwind
colors: {
  custom: {
    50: '#d877c5',
    500: '#c22fac',
    950: '#000000',
  },
}
SCSS
$custom: #c22fac;
$custom-light: #d877c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c22fac",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 308.98,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57776,
    "c": 0.22205,
    "h": 335
  },
  "luminance": 0.16481
}

Semantic roles & 50–950 ramp

primary
#C22FAC
secondary
#81CC8C
accent
#E45C44
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C22FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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