#C22EAF#C22EAF

#C22EAF is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.9% C 0.225 H 334.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C22EAF
RGBrgb(194, 46, 175)
HSLhsl(308, 62%, 47%)
HSVhsv(308, 76%, 76%)
CMYKcmyk(0%, 76.3%, 9.8%, 23.9%)
CIE-LABlab(47.65, 69.68, -35.97)
CIE-LCHlch(47.65, 78.42, 332.70°)
OKLaboklab(57.86% 0.2023 -0.0986)
OKLCHoklch(57.86% 0.225 334)
XYZxyz(30.9633, 16.5212, 42.1073)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22EAF #2EC241
analogous
#8B2EC2 #C22EAF #C22E65
triadic
#C22EAF #AFC22E #2EAFC2
tetradic
#C22EAF #C28B2E #2EC241 #2E65C2
square
#C22EAF #C28B2E #2EC241 #2E65C2
split-complementary
#C22EAF #65C22E #2EC28B
monochromatic
#5F1756 #912282 #C22EAF #D756C6 #E388D7

Accessibility & contrast

On white

4.88
#C22EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#C22EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22EAF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22EAF#FFFFFF#000000##FFFFFF
##C22EAF1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A63B2
Deuteranopia (green-blind)
#6379AC
Tritanopia (blue-blind)
#CB3D6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c22eaf;
/* rgb */ color: rgb(194, 46, 175);
/* oklch */ color: oklch(57.9% 0.225 334.0);
Tailwind
colors: {
  custom: {
    50: '#d977c7',
    500: '#c22eaf',
    950: '#000000',
  },
}
SCSS
$custom: #c22eaf;
$custom-light: #d977c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c22eaf",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 307.703,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57859,
    "c": 0.22508,
    "h": 334
  },
  "luminance": 0.16518
}

Semantic roles & 50–950 ramp

primary
#C22EAF
secondary
#7FCC89
accent
#E55843
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C22EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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