#C122D3#C122D3

#C122D3 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 59.1% C 0.260 H 323.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C122D3
RGBrgb(193, 34, 211)
HSLhsl(294, 72%, 48%)
HSVhsv(294, 84%, 83%)
CMYKcmyk(8.5%, 83.9%, 0%, 17.3%)
CIE-LABlab(48.49, 78.06, -55.57)
CIE-LCHlch(48.49, 95.82, 324.55°)
OKLaboklab(59.08% 0.2083 -0.1555)
OKLCHoklch(59.08% 0.26 323.3)
XYZxyz(34.3211, 17.1868, 63.1250)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C122D3 #34D322
analogous
#6822D3 #C122D3 #D3228D
triadic
#C122D3 #D3C122 #22D3C1
tetradic
#C122D3 #D36822 #34D322 #228DD3
square
#C122D3 #D36822 #34D322 #228DD3
split-complementary
#C122D3 #8DD322 #22D368
monochromatic
#61116A #911A9E #C122D3 #D44FE3 #E184EB

Accessibility & contrast

On white

4.73
#C122D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C122D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C122D3
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C122D3#FFFFFF#000000##FFFFFF
##C122D31.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c122d3;
/* rgb */ color: rgb(193, 34, 211);
/* oklch */ color: oklch(59.1% 0.260 323.3);
Tailwind
colors: {
  custom: {
    50: '#d875e1',
    500: '#c122d3',
    950: '#000000',
  },
}
SCSS
$custom: #c122d3;
$custom-light: #d875e1;
$custom-dark: #000000;
JSON
{
  "hex": "#c122d3",
  "rgb": {
    "r": 193,
    "g": 34,
    "b": 211
  },
  "hsl": {
    "h": 293.898,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.59081,
    "c": 0.26,
    "h": 323.3
  },
  "luminance": 0.17185
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C122D3

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

Preview Lab → · Contrast checker → · Palette generator →

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