#C222B5#C222B5

#C222B5 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.4% C 0.239 H 332.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C222B5
RGBrgb(194, 34, 181)
HSLhsl(305, 70%, 45%)
HSVhsv(305, 82%, 76%)
CMYKcmyk(0%, 82.5%, 6.7%, 23.9%)
CIE-LABlab(46.91, 73.60, -40.67)
CIE-LCHlch(46.91, 84.08, 331.08°)
OKLaboklab(57.43% 0.2114 -0.1121)
OKLCHoklch(57.43% 0.239 332.1)
XYZxyz(31.1608, 15.9523, 45.1451)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C222B5 #22C22F
analogous
#7F22C2 #C222B5 #C22265
triadic
#C222B5 #B5C222 #22B5C2
tetradic
#C222B5 #C27F22 #22C22F #2265C2
square
#C222B5 #C27F22 #22C22F #2265C2
split-complementary
#C222B5 #65C222 #22C27F
monochromatic
#5A1054 #8E1984 #C222B5 #DE43D1 #E777DE

Accessibility & contrast

On white

5.01
#C222B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#C222B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C222B5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C222B5#FFFFFF#000000##FFFFFF
##C222B51.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E61B9
Deuteranopia (green-blind)
#5C77B1
Tritanopia (blue-blind)
#CA396D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c222b5;
/* rgb */ color: rgb(194, 34, 181);
/* oklch */ color: oklch(57.4% 0.239 332.1);
Tailwind
colors: {
  custom: {
    50: '#d973cc',
    500: '#c222b5',
    950: '#000000',
  },
}
SCSS
$custom: #c222b5;
$custom-light: #d973cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c222b5",
  "rgb": {
    "r": 194,
    "g": 34,
    "b": 181
  },
  "hsl": {
    "h": 304.875,
    "s": 70.175,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57432,
    "c": 0.23927,
    "h": 332.1
  },
  "luminance": 0.1595
}

Semantic roles & 50–950 ramp

primary
#C222B5
secondary
#71CF79
accent
#ED493B
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #C222B5

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

Preview Lab → · Contrast checker → · Palette generator →

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