#C022D3#C022D3

#C022D3 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.9% C 0.260 H 323.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C022D3
RGBrgb(192, 34, 211)
HSLhsl(294, 72%, 48%)
HSVhsv(294, 84%, 83%)
CMYKcmyk(9%, 83.9%, 0%, 17.3%)
CIE-LABlab(48.33, 77.88, -55.84)
CIE-LCHlch(48.33, 95.83, 324.36°)
OKLaboklab(58.93% 0.2073 -0.1564)
OKLCHoklch(58.93% 0.26 323)
XYZxyz(34.0670, 17.0558, 63.1131)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C022D3 #35D322
analogous
#6722D3 #C022D3 #D3228E
triadic
#C022D3 #D3C022 #22D3C0
tetradic
#C022D3 #D36722 #35D322 #228ED3
square
#C022D3 #D36722 #35D322 #228ED3
split-complementary
#C022D3 #8ED322 #22D367
monochromatic
#60116A #901A9E #C022D3 #D34FE3 #E084EB

Accessibility & contrast

On white

4.76
#C022D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C022D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C022D3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C022D3#FFFFFF#000000##FFFFFF
##C022D31.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#4578CF
Tritanopia (blue-blind)
#C34B7F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c022d3;
/* rgb */ color: rgb(192, 34, 211);
/* oklch */ color: oklch(58.9% 0.260 323.0);
Tailwind
colors: {
  custom: {
    50: '#d874e1',
    500: '#c022d3',
    950: '#000000',
  },
}
SCSS
$custom: #c022d3;
$custom-light: #d874e1;
$custom-dark: #000000;
JSON
{
  "hex": "#c022d3",
  "rgb": {
    "r": 192,
    "g": 34,
    "b": 211
  },
  "hsl": {
    "h": 293.559,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58934,
    "c": 0.25964,
    "h": 323
  },
  "luminance": 0.17054
}

Semantic roles & 50–950 ramp

primary
#C022D3
secondary
#86D47D
accent
#EF394C
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #C022D3

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

Preview Lab → · Contrast checker → · Palette generator →

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