#C22FB6#C22FB6

#C22FB6 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.3% C 0.229 H 331.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C22FB6
RGBrgb(194, 47, 182)
HSLhsl(305, 61%, 47%)
HSVhsv(305, 76%, 76%)
CMYKcmyk(0%, 75.8%, 6.2%, 23.9%)
CIE-LABlab(48.11, 70.43, -39.35)
CIE-LCHlch(48.11, 80.68, 330.81°)
OKLaboklab(58.3% 0.2018 -0.1084)
OKLCHoklch(58.3% 0.229 331.8)
XYZxyz(31.7082, 16.8824, 45.8355)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22FB6 #2FC23B
analogous
#852FC2 #C22FB6 #C22F6D
triadic
#C22FB6 #B6C22F #2FB6C2
tetradic
#C22FB6 #C2852F #2FC23B #2F6DC2
square
#C22FB6 #C2852F #2FC23B #2F6DC2
split-complementary
#C22FB6 #6DC22F #2FC285
monochromatic
#5F175A #912388 #C22FB6 #D658CC #E289DB

Accessibility & contrast

On white

4.80
#C22FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C22FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22FB6
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22FB6#FFFFFF#000000##FFFFFF
##C22FB61.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2265BA
Deuteranopia (green-blind)
#6079B3
Tritanopia (blue-blind)
#CA4171
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c22fb6;
/* rgb */ color: rgb(194, 47, 182);
/* oklch */ color: oklch(58.3% 0.229 331.8);
Tailwind
colors: {
  custom: {
    50: '#d878cc',
    500: '#c22fb6',
    950: '#000000',
  },
}
SCSS
$custom: #c22fb6;
$custom-light: #d878cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c22fb6",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 304.898,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58305,
    "c": 0.22902,
    "h": 331.8
  },
  "luminance": 0.1688
}

Semantic roles & 50–950 ramp

primary
#C22FB6
secondary
#81CC87
accent
#E45144
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C22FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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