#C22FB0#C22FB0

#C22FB0 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.0% C 0.225 H 333.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C22FB0
RGBrgb(194, 47, 176)
HSLhsl(307, 61%, 47%)
HSVhsv(307, 76%, 76%)
CMYKcmyk(0%, 75.8%, 9.3%, 23.9%)
CIE-LABlab(47.80, 69.54, -36.32)
CIE-LCHlch(47.80, 78.45, 332.42°)
OKLaboklab(57.98% 0.2015 -0.0996)
OKLCHoklch(57.98% 0.225 333.7)
XYZxyz(31.1014, 16.6397, 42.6396)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22FB0 #2FC241
analogous
#8B2FC2 #C22FB0 #C22F67
triadic
#C22FB0 #B0C22F #2FB0C2
tetradic
#C22FB0 #C28B2F #2FC241 #2F67C2
square
#C22FB0 #C28B2F #2FC241 #2F67C2
split-complementary
#C22FB0 #67C22F #2FC28B
monochromatic
#5F1757 #912383 #C22FB0 #D658C7 #E289D7

Accessibility & contrast

On white

4.85
#C22FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#C22FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22FB0
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22FB0#FFFFFF#000000##FFFFFF
##C22FB01.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A64B3
Deuteranopia (green-blind)
#6379AD
Tritanopia (blue-blind)
#CB3E6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c22fb0;
/* rgb */ color: rgb(194, 47, 176);
/* oklch */ color: oklch(58.0% 0.225 333.7);
Tailwind
colors: {
  custom: {
    50: '#d877c8',
    500: '#c22fb0',
    950: '#000000',
  },
}
SCSS
$custom: #c22fb0;
$custom-light: #d877c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c22fb0",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 307.347,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57984,
    "c": 0.2248,
    "h": 333.7
  },
  "luminance": 0.16637
}

Semantic roles & 50–950 ramp

primary
#C22FB0
secondary
#81CC8A
accent
#E45744
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C22FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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