#C122AD#C122AD

#C122AD is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.8% C 0.233 H 334.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#C122AD
RGBrgb(193, 34, 173)
HSLhsl(308, 70%, 45%)
HSVhsv(308, 82%, 76%)
CMYKcmyk(0%, 82.4%, 10.4%, 24.3%)
CIE-LABlab(46.31, 72.25, -36.91)
CIE-LCHlch(46.31, 81.13, 332.94°)
OKLaboklab(56.84% 0.2103 -0.1013)
OKLCHoklch(56.84% 0.233 334.3)
XYZxyz(30.1075, 15.5014, 40.9335)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C122AD #22C136
analogous
#8622C1 #C122AD #C1225E
triadic
#C122AD #ADC122 #22ADC1
tetradic
#C122AD #C18622 #22C136 #225EC1
square
#C122AD #C18622 #22C136 #225EC1
split-complementary
#C122AD #5EC122 #22C186
monochromatic
#591050 #8D197E #C122AD #DE42CA #E776D9

Accessibility & contrast

On white

5.12
#C122AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#C122AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C122AD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C122AD#FFFFFF#000000##FFFFFF
##C122AD1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5FB0
Deuteranopia (green-blind)
#5F76A9
Tritanopia (blue-blind)
#CA3469
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c122ad;
/* rgb */ color: rgb(193, 34, 173);
/* oklch */ color: oklch(56.8% 0.233 334.3);
Tailwind
colors: {
  custom: {
    50: '#d873c6',
    500: '#c122ad',
    950: '#000000',
  },
}
SCSS
$custom: #c122ad;
$custom-light: #d873c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c122ad",
  "rgb": {
    "r": 193,
    "g": 34,
    "b": 173
  },
  "hsl": {
    "h": 307.547,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56837,
    "c": 0.23344,
    "h": 334.3
  },
  "luminance": 0.15499
}

Semantic roles & 50–950 ramp

primary
#C122AD
secondary
#71CE7C
accent
#ED513B
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #C122AD

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

Preview Lab → · Contrast checker → · Palette generator →

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