#C22EBC#C22EBC

#C22EBC is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.6% C 0.234 H 329.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C22EBC
RGBrgb(194, 46, 188)
HSLhsl(302, 62%, 47%)
HSVhsv(302, 76%, 76%)
CMYKcmyk(0%, 76.3%, 3.1%, 23.9%)
CIE-LABlab(48.33, 71.64, -42.51)
CIE-LCHlch(48.33, 83.30, 329.31°)
OKLaboklab(58.57% 0.2027 -0.1175)
OKLCHoklch(58.57% 0.234 329.9)
XYZxyz(32.3021, 17.0567, 49.1582)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22EBC #2EC234
analogous
#7E2EC2 #C22EBC #C22E72
triadic
#C22EBC #BCC22E #2EBCC2
tetradic
#C22EBC #C27E2E #2EC234 #2E72C2
square
#C22EBC #C27E2E #2EC234 #2E72C2
split-complementary
#C22EBC #72C22E #2EC27E
monochromatic
#5F175C #91228C #C22EBC #D756D2 #E388DF

Accessibility & contrast

On white

4.76
#C22EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C22EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22EBC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22EBC#FFFFFF#000000##FFFFFF
##C22EBC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1666C0
Deuteranopia (green-blind)
#5C7AB8
Tritanopia (blue-blind)
#C94474
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c22ebc;
/* rgb */ color: rgb(194, 46, 188);
/* oklch */ color: oklch(58.6% 0.234 329.9);
Tailwind
colors: {
  custom: {
    50: '#d978d1',
    500: '#c22ebc',
    950: '#000000',
  },
}
SCSS
$custom: #c22ebc;
$custom-light: #d978d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c22ebc",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 302.432,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58566,
    "c": 0.23426,
    "h": 329.9
  },
  "luminance": 0.17054
}

Semantic roles & 50–950 ramp

primary
#C22EBC
secondary
#7FCC83
accent
#E54A43
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C22EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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