#C12FAE#C12FAE

#C12FAE is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.223 H 334.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C12FAE
RGBrgb(193, 47, 174)
HSLhsl(308, 61%, 47%)
HSVhsv(308, 76%, 76%)
CMYKcmyk(0%, 75.6%, 9.8%, 24.3%)
CIE-LABlab(47.53, 69.02, -35.58)
CIE-LCHlch(47.53, 77.65, 332.73°)
OKLaboklab(57.73% 0.2005 -0.0975)
OKLCHoklch(57.73% 0.223 334.1)
XYZxyz(30.6491, 16.4292, 41.5931)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12FAE #2FC142
analogous
#8B2FC1 #C12FAE #C12F65
triadic
#C12FAE #AEC12F #2FAEC1
tetradic
#C12FAE #C18B2F #2FC142 #2F65C1
square
#C12FAE #C18B2F #2FC142 #2F65C1
split-complementary
#C12FAE #65C12F #2FC18B
monochromatic
#5F1755 #902382 #C12FAE #D657C6 #E288D6

Accessibility & contrast

On white

4.90
#C12FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#C12FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12FAE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12FAE#FFFFFF#000000##FFFFFF
##C12FAE1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B63B1
Deuteranopia (green-blind)
#6378AB
Tritanopia (blue-blind)
#CA3D6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c12fae;
/* rgb */ color: rgb(193, 47, 174);
/* oklch */ color: oklch(57.7% 0.223 334.1);
Tailwind
colors: {
  custom: {
    50: '#d877c6',
    500: '#c12fae',
    950: '#000000',
  },
}
SCSS
$custom: #c12fae;
$custom-light: #d877c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c12fae",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 307.808,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57726,
    "c": 0.2229,
    "h": 334.1
  },
  "luminance": 0.16426
}

Semantic roles & 50–950 ramp

primary
#C12FAE
secondary
#80CC8A
accent
#E45944
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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