#C22FAE#C22FAE

#C22FAE is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.9% C 0.223 H 334.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C22FAE
RGBrgb(194, 47, 174)
HSLhsl(308, 61%, 47%)
HSVhsv(308, 76%, 76%)
CMYKcmyk(0%, 75.8%, 10.3%, 23.9%)
CIE-LABlab(47.70, 69.24, -35.30)
CIE-LCHlch(47.70, 77.72, 332.99°)
OKLaboklab(57.88% 0.2014 -0.0967)
OKLCHoklch(57.88% 0.223 334.4)
XYZxyz(30.9050, 16.5611, 41.6051)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22FAE #2FC243
analogous
#8C2FC2 #C22FAE #C22F65
triadic
#C22FAE #AEC22F #2FAEC2
tetradic
#C22FAE #C28C2F #2FC243 #2F65C2
square
#C22FAE #C28C2F #2FC243 #2F65C2
split-complementary
#C22FAE #65C22F #2FC28C
monochromatic
#5F1756 #912382 #C22FAE #D658C5 #E289D6

Accessibility & contrast

On white

4.87
#C22FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C22FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22FAE
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22FAE#FFFFFF#000000##FFFFFF
##C22FAE1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B1
Deuteranopia (green-blind)
#6479AB
Tritanopia (blue-blind)
#CB3D6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c22fae;
/* rgb */ color: rgb(194, 47, 174);
/* oklch */ color: oklch(57.9% 0.223 334.4);
Tailwind
colors: {
  custom: {
    50: '#d877c6',
    500: '#c22fae',
    950: '#000000',
  },
}
SCSS
$custom: #c22fae;
$custom-light: #d877c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c22fae",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 308.163,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57879,
    "c": 0.22342,
    "h": 334.4
  },
  "luminance": 0.16558
}

Semantic roles & 50–950 ramp

primary
#C22FAE
secondary
#81CC8B
accent
#E45A44
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C22FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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