#C22DC7#C22DC7

#C22DC7 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.1% C 0.243 H 326.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C22DC7
RGBrgb(194, 45, 199)
HSLhsl(298, 63%, 48%)
HSVhsv(298, 77%, 78%)
CMYKcmyk(2.5%, 77.4%, 0%, 22%)
CIE-LABlab(48.85, 73.65, -48.08)
CIE-LCHlch(48.85, 87.95, 326.86°)
OKLaboklab(59.13% 0.2032 -0.1337)
OKLCHoklch(59.13% 0.243 326.7)
XYZxyz(33.4947, 17.4720, 55.6300)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22DC7 #32C72D
analogous
#752DC7 #C22DC7 #C72D7F
triadic
#C22DC7 #C7C22D #2DC7C2
tetradic
#C22DC7 #C7752D #32C72D #2D7FC7
square
#C22DC7 #C7752D #32C72D #2D7FC7
split-complementary
#C22DC7 #7FC72D #2DC775
monochromatic
#611663 #912295 #C22DC7 #D558D9 #E28AE5

Accessibility & contrast

On white

4.67
#C22DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#C22DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22DC7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22DC7#FFFFFF#000000##FFFFFF
##C22DC71.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#557AC3
Tritanopia (blue-blind)
#C7497A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c22dc7;
/* rgb */ color: rgb(194, 45, 199);
/* oklch */ color: oklch(59.1% 0.243 326.7);
Tailwind
colors: {
  custom: {
    50: '#d978d9',
    500: '#c22dc7',
    950: '#000000',
  },
}
SCSS
$custom: #c22dc7;
$custom-light: #d978d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c22dc7",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 199
  },
  "hsl": {
    "h": 298.052,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.59132,
    "c": 0.2432,
    "h": 326.7
  },
  "luminance": 0.1747
}

Semantic roles & 50–950 ramp

primary
#C22DC7
secondary
#84CE81
accent
#E64247
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A15
muted
#837C83

Preview Lab

Preview with #C22DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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