#C12AAF#C12AAF

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

Color values

HEX#C12AAF
RGBrgb(193, 42, 175)
HSLhsl(307, 64%, 46%)
HSVhsv(307, 78%, 76%)
CMYKcmyk(0%, 78.2%, 9.3%, 24.3%)
CIE-LABlab(47.09, 70.58, -36.86)
CIE-LCHlch(47.09, 79.62, 332.42°)
OKLaboklab(57.43% 0.2046 -0.1011)
OKLCHoklch(57.43% 0.228 333.7)
XYZxyz(30.5584, 16.0912, 42.0456)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12AAF #2AC13C
analogous
#872AC1 #C12AAF #C12A63
triadic
#C12AAF #AFC12A #2AAFC1
tetradic
#C12AAF #C1872A #2AC13C #2A63C1
square
#C12AAF #C1872A #2AC13C #2A63C1
split-complementary
#C12AAF #63C12A #2AC187
monochromatic
#5C1454 #8F1F81 #C12AAF #D94FC8 #E482D8

Accessibility & contrast

On white

4.98
#C12AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12AAF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12AAF#FFFFFF#000000##FFFFFF
##C12AAF1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2462B2
Deuteranopia (green-blind)
#6077AC
Tritanopia (blue-blind)
#CA3A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c12aaf;
/* rgb */ color: rgb(193, 42, 175);
/* oklch */ color: oklch(57.4% 0.228 333.7);
Tailwind
colors: {
  custom: {
    50: '#d875c7',
    500: '#c12aaf',
    950: '#000000',
  },
}
SCSS
$custom: #c12aaf;
$custom-light: #d875c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c12aaf",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 307.152,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57428,
    "c": 0.22826,
    "h": 333.7
  },
  "luminance": 0.16089
}

Semantic roles & 50–950 ramp

primary
#C12AAF
secondary
#7ACD84
accent
#E75441
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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