#C22EBB#C22EBB

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

Color values

HEX#C22EBB
RGBrgb(194, 46, 187)
HSLhsl(303, 62%, 47%)
HSVhsv(303, 76%, 76%)
CMYKcmyk(0%, 76.3%, 3.6%, 23.9%)
CIE-LABlab(48.28, 71.48, -42.02)
CIE-LCHlch(48.28, 82.92, 329.55°)
OKLaboklab(58.51% 0.2027 -0.1161)
OKLCHoklch(58.51% 0.234 330.2)
XYZxyz(32.1946, 17.0137, 48.5924)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22EBB #2EC235
analogous
#7F2EC2 #C22EBB #C22E71
triadic
#C22EBB #BBC22E #2EBBC2
tetradic
#C22EBB #C27F2E #2EC235 #2E71C2
square
#C22EBB #C27F2E #2EC235 #2E71C2
split-complementary
#C22EBB #71C22E #2EC27F
monochromatic
#5F175C #91228B #C22EBB #D756D1 #E388DE

Accessibility & contrast

On white

4.77
#C22EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C22EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22EBB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22EBB#FFFFFF#000000##FFFFFF
##C22EBB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1866BF
Deuteranopia (green-blind)
#5D7AB7
Tritanopia (blue-blind)
#C94373
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c22ebb;
/* rgb */ color: rgb(194, 46, 187);
/* oklch */ color: oklch(58.5% 0.234 330.2);
Tailwind
colors: {
  custom: {
    50: '#d978d0',
    500: '#c22ebb',
    950: '#000000',
  },
}
SCSS
$custom: #c22ebb;
$custom-light: #d978d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c22ebb",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 302.838,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5851,
    "c": 0.23355,
    "h": 330.2
  },
  "luminance": 0.17011
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C22EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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