#C22DCA#C22DCA

#C22DCA is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.3% C 0.245 H 325.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C22DCA
RGBrgb(194, 45, 202)
HSLhsl(297, 64%, 48%)
HSVhsv(297, 78%, 79%)
CMYKcmyk(4%, 77.7%, 0%, 20.8%)
CIE-LABlab(49.02, 74.13, -49.53)
CIE-LCHlch(49.02, 89.16, 326.25°)
OKLaboklab(59.31% 0.203 -0.1379)
OKLCHoklch(59.31% 0.245 325.8)
XYZxyz(33.8465, 17.6127, 57.4825)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22DCA #35CA2D
analogous
#732DCA #C22DCA #CA2D83
triadic
#C22DCA #CAC22D #2DCAC2
tetradic
#C22DCA #CA732D #35CA2D #2D83CA
square
#C22DCA #CA732D #35CA2D #2D83CA
split-complementary
#C22DCA #83CA2D #2DCA73
monochromatic
#621766 #922298 #C22DCA #D45ADA #E18CE5

Accessibility & contrast

On white

4.64
#C22DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C22DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C22DCA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22DCA#FFFFFF#000000##FFFFFF
##C22DCA1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#537BC6
Tritanopia (blue-blind)
#C74A7C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c22dca;
/* rgb */ color: rgb(194, 45, 202);
/* oklch */ color: oklch(59.3% 0.245 325.8);
Tailwind
colors: {
  custom: {
    50: '#d978db',
    500: '#c22dca',
    950: '#000000',
  },
}
SCSS
$custom: #c22dca;
$custom-light: #d978db;
$custom-dark: #000000;
JSON
{
  "hex": "#c22dca",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 296.943,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59311,
    "c": 0.24542,
    "h": 325.8
  },
  "luminance": 0.1761
}

Semantic roles & 50–950 ramp

primary
#C22DCA
secondary
#87CF83
accent
#E7414A
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #C22DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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