#C22EB5#C22EB5

#C22EB5 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.2% C 0.229 H 332.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C22EB5
RGBrgb(194, 46, 181)
HSLhsl(305, 62%, 47%)
HSVhsv(305, 76%, 76%)
CMYKcmyk(0%, 76.3%, 6.7%, 23.9%)
CIE-LABlab(47.96, 70.57, -39.01)
CIE-LCHlch(47.96, 80.63, 331.07°)
OKLaboklab(58.18% 0.2026 -0.1074)
OKLCHoklch(58.18% 0.229 332.1)
XYZxyz(31.5657, 16.7622, 45.2800)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22EB5 #2EC23B
analogous
#852EC2 #C22EB5 #C22E6B
triadic
#C22EB5 #B5C22E #2EB5C2
tetradic
#C22EB5 #C2852E #2EC23B #2E6BC2
square
#C22EB5 #C2852E #2EC23B #2E6BC2
split-complementary
#C22EB5 #6BC22E #2EC285
monochromatic
#5F1759 #912287 #C22EB5 #D756CC #E388DB

Accessibility & contrast

On white

4.83
#C22EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#C22EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22EB5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22EB5#FFFFFF#000000##FFFFFF
##C22EB51.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2265B9
Deuteranopia (green-blind)
#6079B2
Tritanopia (blue-blind)
#CA4070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c22eb5;
/* rgb */ color: rgb(194, 46, 181);
/* oklch */ color: oklch(58.2% 0.229 332.1);
Tailwind
colors: {
  custom: {
    50: '#d977cb',
    500: '#c22eb5',
    950: '#000000',
  },
}
SCSS
$custom: #c22eb5;
$custom-light: #d977cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c22eb5",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 305.27,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58179,
    "c": 0.22927,
    "h": 332.1
  },
  "luminance": 0.1676
}

Semantic roles & 50–950 ramp

primary
#C22EB5
secondary
#7FCC86
accent
#E55143
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C22EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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