#C22FBB#C22FBB

#C22FBB is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.6% C 0.233 H 330.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C22FBB
RGBrgb(194, 47, 187)
HSLhsl(303, 61%, 47%)
HSVhsv(303, 76%, 76%)
CMYKcmyk(0%, 75.8%, 3.6%, 23.9%)
CIE-LABlab(48.38, 71.20, -41.86)
CIE-LCHlch(48.38, 82.59, 329.55°)
OKLaboklab(58.58% 0.2018 -0.1156)
OKLCHoklch(58.58% 0.233 330.2)
XYZxyz(32.2342, 17.0928, 48.6056)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22FBB #2FC236
analogous
#7F2FC2 #C22FBB #C22F72
triadic
#C22FBB #BBC22F #2FBBC2
tetradic
#C22FBB #C27F2F #2FC236 #2F72C2
square
#C22FBB #C27F2F #2FC236 #2F72C2
split-complementary
#C22FBB #72C22F #2FC27F
monochromatic
#5F175C #91238C #C22FBB #D658D0 #E289DE

Accessibility & contrast

On white

4.75
#C22FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C22FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22FBB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22FBB#FFFFFF#000000##FFFFFF
##C22FBB1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A66BF
Deuteranopia (green-blind)
#5D7AB7
Tritanopia (blue-blind)
#C94474
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c22fbb;
/* rgb */ color: rgb(194, 47, 187);
/* oklch */ color: oklch(58.6% 0.233 330.2);
Tailwind
colors: {
  custom: {
    50: '#d978d0',
    500: '#c22fbb',
    950: '#000000',
  },
}
SCSS
$custom: #c22fbb;
$custom-light: #d978d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c22fbb",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 302.857,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58581,
    "c": 0.23261,
    "h": 330.2
  },
  "luminance": 0.1709
}

Semantic roles & 50–950 ramp

primary
#C22FBB
secondary
#81CC84
accent
#E44B44
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C22FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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