#C22EB7#C22EB7

#C22EB7 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.3% C 0.231 H 331.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C22EB7
RGBrgb(194, 46, 183)
HSLhsl(304, 62%, 47%)
HSVhsv(304, 76%, 76%)
CMYKcmyk(0%, 76.3%, 5.7%, 23.9%)
CIE-LABlab(48.06, 70.87, -40.02)
CIE-LCHlch(48.06, 81.39, 330.55°)
OKLaboklab(58.29% 0.2026 -0.1103)
OKLCHoklch(58.29% 0.231 331.4)
XYZxyz(31.7724, 16.8448, 46.3686)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22EB7 #2EC239
analogous
#832EC2 #C22EB7 #C22E6D
triadic
#C22EB7 #B7C22E #2EB7C2
tetradic
#C22EB7 #C2832E #2EC239 #2E6DC2
square
#C22EB7 #C2832E #2EC239 #2E6DC2
split-complementary
#C22EB7 #6DC22E #2EC283
monochromatic
#5F175A #912288 #C22EB7 #D756CD #E388DC

Accessibility & contrast

On white

4.81
#C22EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#C22EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22EB7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22EB7#FFFFFF#000000##FFFFFF
##C22EB71.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F65BB
Deuteranopia (green-blind)
#5F79B3
Tritanopia (blue-blind)
#CA4171
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c22eb7;
/* rgb */ color: rgb(194, 46, 183);
/* oklch */ color: oklch(58.3% 0.231 331.4);
Tailwind
colors: {
  custom: {
    50: '#d977cd',
    500: '#c22eb7',
    950: '#000000',
  },
}
SCSS
$custom: #c22eb7;
$custom-light: #d977cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c22eb7",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 304.459,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58288,
    "c": 0.23068,
    "h": 331.4
  },
  "luminance": 0.16842
}

Semantic roles & 50–950 ramp

primary
#C22EB7
secondary
#7FCC85
accent
#E54F43
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C22EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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