#C122BD#C122BD

#C122BD is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.7% C 0.244 H 329.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C122BD
RGBrgb(193, 34, 189)
HSLhsl(302, 70%, 45%)
HSVhsv(302, 82%, 76%)
CMYKcmyk(0%, 82.4%, 2.1%, 24.3%)
CIE-LABlab(47.18, 74.59, -44.93)
CIE-LCHlch(47.18, 87.08, 328.93°)
OKLaboklab(57.73% 0.2102 -0.1245)
OKLCHoklch(57.73% 0.244 329.4)
XYZxyz(31.7494, 16.1582, 49.5809)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C122BD #22C126
analogous
#7522C1 #C122BD #C1226E
triadic
#C122BD #BDC122 #22BDC1
tetradic
#C122BD #C17522 #22C126 #226EC1
square
#C122BD #C17522 #22C126 #226EC1
split-complementary
#C122BD #6EC122 #22C175
monochromatic
#591057 #8D198A #C122BD #DE42DA #E776E4

Accessibility & contrast

On white

4.96
#C122BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#C122BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C122BD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C122BD#FFFFFF#000000##FFFFFF
##C122BD1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#5677B9
Tritanopia (blue-blind)
#C83E72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c122bd;
/* rgb */ color: rgb(193, 34, 189);
/* oklch */ color: oklch(57.7% 0.244 329.4);
Tailwind
colors: {
  custom: {
    50: '#d873d1',
    500: '#c122bd',
    950: '#000000',
  },
}
SCSS
$custom: #c122bd;
$custom-light: #d873d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c122bd",
  "rgb": {
    "r": 193,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 301.509,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57734,
    "c": 0.24433,
    "h": 329.4
  },
  "luminance": 0.16156
}

Semantic roles & 50–950 ramp

primary
#C122BD
secondary
#71CE73
accent
#ED3F3B
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #C122BD

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

Preview Lab → · Contrast checker → · Palette generator →

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