#C22EBA#C22EBA

#C22EBA is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.5% C 0.233 H 330.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C22EBA
RGBrgb(194, 46, 186)
HSLhsl(303, 62%, 47%)
HSVhsv(303, 76%, 76%)
CMYKcmyk(0%, 76.3%, 4.1%, 23.9%)
CIE-LABlab(48.22, 71.33, -41.52)
CIE-LCHlch(48.22, 82.53, 329.80°)
OKLaboklab(58.45% 0.2027 -0.1146)
OKLCHoklch(58.45% 0.233 330.5)
XYZxyz(32.0880, 16.9711, 48.0306)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22EBA #2EC236
analogous
#802EC2 #C22EBA #C22E70
triadic
#C22EBA #BAC22E #2EBAC2
tetradic
#C22EBA #C2802E #2EC236 #2E70C2
square
#C22EBA #C2802E #2EC236 #2E70C2
split-complementary
#C22EBA #70C22E #2EC280
monochromatic
#5F175B #91228B #C22EBA #D756D0 #E388DE

Accessibility & contrast

On white

4.78
#C22EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C22EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22EBA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22EBA#FFFFFF#000000##FFFFFF
##C22EBA1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A66BE
Deuteranopia (green-blind)
#5D79B6
Tritanopia (blue-blind)
#CA4373
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c22eba;
/* rgb */ color: rgb(194, 46, 186);
/* oklch */ color: oklch(58.5% 0.233 330.5);
Tailwind
colors: {
  custom: {
    50: '#d977cf',
    500: '#c22eba',
    950: '#000000',
  },
}
SCSS
$custom: #c22eba;
$custom-light: #d977cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c22eba",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 303.243,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58454,
    "c": 0.23283,
    "h": 330.5
  },
  "luminance": 0.16968
}

Semantic roles & 50–950 ramp

primary
#C22EBA
secondary
#7FCC84
accent
#E54C43
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C22EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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