#C22DAF#C22DAF

#C22DAF is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.8% C 0.226 H 334.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C22DAF
RGBrgb(194, 45, 175)
HSLhsl(308, 62%, 47%)
HSVhsv(308, 77%, 76%)
CMYKcmyk(0%, 76.8%, 9.8%, 23.9%)
CIE-LABlab(47.55, 69.97, -36.13)
CIE-LCHlch(47.55, 78.74, 332.69°)
OKLaboklab(57.79% 0.2032 -0.099)
OKLCHoklch(57.79% 0.226 334)
XYZxyz(30.9247, 16.4440, 42.0944)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22DAF #2DC240
analogous
#8B2DC2 #C22DAF #C22D65
triadic
#C22DAF #AFC22D #2DAFC2
tetradic
#C22DAF #C28B2D #2DC240 #2D65C2
square
#C22DAF #C28B2D #2DC240 #2D65C2
split-complementary
#C22DAF #65C22D #2DC28B
monochromatic
#5F1655 #902182 #C22DAF #D755C7 #E386D7

Accessibility & contrast

On white

4.90
#C22DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#C22DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22DAF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22DAF#FFFFFF#000000##FFFFFF
##C22DAF1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2963B2
Deuteranopia (green-blind)
#6278AC
Tritanopia (blue-blind)
#CB3C6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c22daf;
/* rgb */ color: rgb(194, 45, 175);
/* oklch */ color: oklch(57.8% 0.226 334.0);
Tailwind
colors: {
  custom: {
    50: '#d977c7',
    500: '#c22daf',
    950: '#000000',
  },
}
SCSS
$custom: #c22daf;
$custom-light: #d977c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c22daf",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 307.651,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57788,
    "c": 0.22603,
    "h": 334
  },
  "luminance": 0.16441
}

Semantic roles & 50–950 ramp

primary
#C22DAF
secondary
#7ECD88
accent
#E55742
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C22DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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