#C12AA9#C12AA9

#C12AA9 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.1% C 0.224 H 335.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C12AA9
RGBrgb(193, 42, 169)
HSLhsl(310, 64%, 46%)
HSVhsv(310, 78%, 76%)
CMYKcmyk(0%, 78.2%, 12.4%, 24.3%)
CIE-LABlab(46.79, 69.71, -33.79)
CIE-LCHlch(46.79, 77.47, 334.14°)
OKLaboklab(57.11% 0.2043 -0.0923)
OKLCHoklch(57.11% 0.224 335.7)
XYZxyz(29.9822, 15.8607, 39.0108)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12AA9 #2AC142
analogous
#8D2AC1 #C12AA9 #C12A5E
triadic
#C12AA9 #A9C12A #2AA9C1
tetradic
#C12AA9 #C18D2A #2AC142 #2A5EC1
square
#C12AA9 #C18D2A #2AC142 #2A5EC1
split-complementary
#C12AA9 #5EC12A #2AC18D
monochromatic
#5C1451 #8F1F7D #C12AA9 #D94FC3 #E482D4

Accessibility & contrast

On white

5.03
#C12AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#C12AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12AA9
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12AA9#FFFFFF#000000##FFFFFF
##C12AA91.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B61AC
Deuteranopia (green-blind)
#6377A6
Tritanopia (blue-blind)
#CB3768
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c12aa9;
/* rgb */ color: rgb(193, 42, 169);
/* oklch */ color: oklch(57.1% 0.224 335.7);
Tailwind
colors: {
  custom: {
    50: '#d875c3',
    500: '#c12aa9',
    950: '#000000',
  },
}
SCSS
$custom: #c12aa9;
$custom-light: #d875c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c12aa9",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 309.536,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57113,
    "c": 0.22421,
    "h": 335.7
  },
  "luminance": 0.15858
}

Semantic roles & 50–950 ramp

primary
#C12AA9
secondary
#7ACD87
accent
#E75B41
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C12AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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