#C12AAD#C12AAD

#C12AAD is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.3% C 0.227 H 334.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C12AAD
RGBrgb(193, 42, 173)
HSLhsl(308, 64%, 46%)
HSVhsv(308, 78%, 76%)
CMYKcmyk(0%, 78.2%, 10.4%, 24.3%)
CIE-LABlab(46.99, 70.29, -35.84)
CIE-LCHlch(46.99, 78.90, 332.98°)
OKLaboklab(57.32% 0.2046 -0.0982)
OKLCHoklch(57.32% 0.227 334.4)
XYZxyz(30.3634, 16.0132, 41.0188)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12AAD #2AC13E
analogous
#892AC1 #C12AAD #C12A61
triadic
#C12AAD #ADC12A #2AADC1
tetradic
#C12AAD #C1892A #2AC13E #2A61C1
square
#C12AAD #C1892A #2AC13E #2A61C1
split-complementary
#C12AAD #61C12A #2AC189
monochromatic
#5C1453 #8F1F80 #C12AAD #D94FC7 #E482D7

Accessibility & contrast

On white

5.00
#C12AAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#C12AAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12AAD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12AAD#FFFFFF#000000##FFFFFF
##C12AAD1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2761B0
Deuteranopia (green-blind)
#6177AA
Tritanopia (blue-blind)
#CA396A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c12aad;
/* rgb */ color: rgb(193, 42, 173);
/* oklch */ color: oklch(57.3% 0.227 334.4);
Tailwind
colors: {
  custom: {
    50: '#d875c6',
    500: '#c12aad',
    950: '#000000',
  },
}
SCSS
$custom: #c12aad;
$custom-light: #d875c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c12aad",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 173
  },
  "hsl": {
    "h": 307.947,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57322,
    "c": 0.22691,
    "h": 334.4
  },
  "luminance": 0.16011
}

Semantic roles & 50–950 ramp

primary
#C12AAD
secondary
#7ACD85
accent
#E75741
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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