#C22DBD#C22DBD

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

Color values

HEX#C22DBD
RGBrgb(194, 45, 189)
HSLhsl(302, 62%, 47%)
HSVhsv(302, 77%, 76%)
CMYKcmyk(0%, 76.8%, 2.6%, 23.9%)
CIE-LABlab(48.29, 72.07, -43.16)
CIE-LCHlch(48.29, 84.01, 329.08°)
OKLaboklab(58.55% 0.2035 -0.1194)
OKLCHoklch(58.55% 0.236 329.6)
XYZxyz(32.3716, 17.0228, 49.7150)
Luminance0.1702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22DBD #2DC232
analogous
#7C2DC2 #C22DBD #C22D73
triadic
#C22DBD #BDC22D #2DBDC2
tetradic
#C22DBD #C27C2D #2DC232 #2D73C2
square
#C22DBD #C27C2D #2DC232 #2D73C2
split-complementary
#C22DBD #73C22D #2DC27C
monochromatic
#5F165C #90218D #C22DBD #D755D3 #E386E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C22DBD#FFFFFF#000000##FFFFFF
##C22DBD1.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)
#1166C1
Deuteranopia (green-blind)
#5B79B9
Tritanopia (blue-blind)
#C94474
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c22dbd;
/* rgb */ color: rgb(194, 45, 189);
/* oklch */ color: oklch(58.6% 0.236 329.6);
Tailwind
colors: {
  custom: {
    50: '#d977d1',
    500: '#c22dbd',
    950: '#000000',
  },
}
SCSS
$custom: #c22dbd;
$custom-light: #d977d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c22dbd",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 189
  },
  "hsl": {
    "h": 302.013,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58553,
    "c": 0.2359,
    "h": 329.6
  },
  "luminance": 0.1702
}

Semantic roles & 50–950 ramp

primary
#C22DBD
secondary
#7ECD81
accent
#E54842
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C22DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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