#C12BAE#C12BAE

#C12BAE is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.227 H 334.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C12BAE
RGBrgb(193, 43, 174)
HSLhsl(308, 64%, 46%)
HSVhsv(308, 78%, 76%)
CMYKcmyk(0%, 77.7%, 9.8%, 24.3%)
CIE-LABlab(47.14, 70.16, -36.20)
CIE-LCHlch(47.14, 78.95, 332.71°)
OKLaboklab(57.44% 0.2038 -0.0993)
OKLCHoklch(57.44% 0.227 334)
XYZxyz(30.4965, 16.1239, 41.5423)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12BAE #2BC13E
analogous
#892BC1 #C12BAE #C12B63
triadic
#C12BAE #AEC12B #2BAEC1
tetradic
#C12BAE #C1892B #2BC13E #2B63C1
square
#C12BAE #C1892B #2BC13E #2B63C1
split-complementary
#C12BAE #63C12B #2BC189
monochromatic
#5D1554 #8F2081 #C12BAE #D851C7 #E383D7

Accessibility & contrast

On white

4.97
#C12BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#C12BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12BAE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12BAE#FFFFFF#000000##FFFFFF
##C12BAE1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2762B1
Deuteranopia (green-blind)
#6177AB
Tritanopia (blue-blind)
#CA3B6B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c12bae;
/* rgb */ color: rgb(193, 43, 174);
/* oklch */ color: oklch(57.4% 0.227 334.0);
Tailwind
colors: {
  custom: {
    50: '#d876c6',
    500: '#c12bae',
    950: '#000000',
  },
}
SCSS
$custom: #c12bae;
$custom-light: #d876c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c12bae",
  "rgb": {
    "r": 193,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 307.6,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57442,
    "c": 0.22668,
    "h": 334
  },
  "luminance": 0.16121
}

Semantic roles & 50–950 ramp

primary
#C12BAE
secondary
#7BCC86
accent
#E75641
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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