#C22DBB#C22DBB

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

Color values

HEX#C22DBB
RGBrgb(194, 45, 187)
HSLhsl(303, 62%, 47%)
HSVhsv(303, 77%, 76%)
CMYKcmyk(0%, 76.8%, 3.6%, 23.9%)
CIE-LABlab(48.18, 71.76, -42.17)
CIE-LCHlch(48.18, 83.24, 329.56°)
OKLaboklab(58.44% 0.2035 -0.1165)
OKLCHoklch(58.44% 0.234 330.2)
XYZxyz(32.1560, 16.9365, 48.5795)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22DBB #2DC234
analogous
#7F2DC2 #C22DBB #C22D71
triadic
#C22DBB #BBC22D #2DBBC2
tetradic
#C22DBB #C27F2D #2DC234 #2D71C2
square
#C22DBB #C27F2D #2DC234 #2D71C2
split-complementary
#C22DBB #71C22D #2DC27F
monochromatic
#5F165B #90218B #C22DBB #D755D1 #E386DF

Accessibility & contrast

On white

4.79
#C22DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C22DBB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22DBB#FFFFFF#000000##FFFFFF
##C22DBB1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1666BF
Deuteranopia (green-blind)
#5C79B7
Tritanopia (blue-blind)
#C94373
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c22dbb;
/* rgb */ color: rgb(194, 45, 187);
/* oklch */ color: oklch(58.4% 0.234 330.2);
Tailwind
colors: {
  custom: {
    50: '#d977d0',
    500: '#c22dbb',
    950: '#000000',
  },
}
SCSS
$custom: #c22dbb;
$custom-light: #d977d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c22dbb",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 302.819,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5844,
    "c": 0.23447,
    "h": 330.2
  },
  "luminance": 0.16934
}

Semantic roles & 50–950 ramp

primary
#C22DBB
secondary
#7ECD82
accent
#E54A42
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C22DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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