#C22FBC#C22FBC

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

Color values

HEX#C22FBC
RGBrgb(194, 47, 188)
HSLhsl(302, 61%, 47%)
HSVhsv(302, 76%, 76%)
CMYKcmyk(0%, 75.8%, 3.1%, 23.9%)
CIE-LABlab(48.43, 71.35, -42.36)
CIE-LCHlch(48.43, 82.98, 329.31°)
OKLaboklab(58.64% 0.2018 -0.1171)
OKLCHoklch(58.64% 0.233 329.9)
XYZxyz(32.3416, 17.1357, 49.1713)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22FBC #2FC235
analogous
#7F2FC2 #C22FBC #C22F73
triadic
#C22FBC #BCC22F #2FBCC2
tetradic
#C22FBC #C27F2F #2FC235 #2F73C2
square
#C22FBC #C27F2F #2FC235 #2F73C2
split-complementary
#C22FBC #73C22F #2FC27F
monochromatic
#5F175D #91238C #C22FBC #D658D1 #E289DF

Accessibility & contrast

On white

4.74
#C22FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C22FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22FBC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22FBC#FFFFFF#000000##FFFFFF
##C22FBC1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1866C0
Deuteranopia (green-blind)
#5C7AB8
Tritanopia (blue-blind)
#C94474
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c22fbc;
/* rgb */ color: rgb(194, 47, 188);
/* oklch */ color: oklch(58.6% 0.233 329.9);
Tailwind
colors: {
  custom: {
    50: '#d978d1',
    500: '#c22fbc',
    950: '#000000',
  },
}
SCSS
$custom: #c22fbc;
$custom-light: #d978d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c22fbc",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 302.449,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58637,
    "c": 0.23333,
    "h": 329.9
  },
  "luminance": 0.17133
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C22FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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