#C22FB4#C22FB4

#C22FB4 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.2% C 0.228 H 332.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C22FB4
RGBrgb(194, 47, 180)
HSLhsl(306, 61%, 47%)
HSVhsv(306, 76%, 76%)
CMYKcmyk(0%, 75.8%, 7.2%, 23.9%)
CIE-LABlab(48.01, 70.13, -38.35)
CIE-LCHlch(48.01, 79.93, 331.33°)
OKLaboklab(58.2% 0.2017 -0.1055)
OKLCHoklch(58.2% 0.228 332.4)
XYZxyz(31.5030, 16.8003, 44.7548)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22FB4 #2FC23D
analogous
#862FC2 #C22FB4 #C22F6B
triadic
#C22FB4 #B4C22F #2FB4C2
tetradic
#C22FB4 #C2862F #2FC23D #2F6BC2
square
#C22FB4 #C2862F #2FC23D #2F6BC2
split-complementary
#C22FB4 #6BC22F #2FC286
monochromatic
#5F1759 #912386 #C22FB4 #D658CA #E289DA

Accessibility & contrast

On white

4.82
#C22FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C22FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22FB4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22FB4#FFFFFF#000000##FFFFFF
##C22FB41.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2565B8
Deuteranopia (green-blind)
#6179B1
Tritanopia (blue-blind)
#CA4070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c22fb4;
/* rgb */ color: rgb(194, 47, 180);
/* oklch */ color: oklch(58.2% 0.228 332.4);
Tailwind
colors: {
  custom: {
    50: '#d878cb',
    500: '#c22fb4',
    950: '#000000',
  },
}
SCSS
$custom: #c22fb4;
$custom-light: #d878cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c22fb4",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 305.714,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58197,
    "c": 0.22762,
    "h": 332.4
  },
  "luminance": 0.16798
}

Semantic roles & 50–950 ramp

primary
#C22FB4
secondary
#81CC88
accent
#E45344
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C22FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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