#C12EA9#C12EA9

#C12EA9 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.4% C 0.220 H 335.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C12EA9
RGBrgb(193, 46, 169)
HSLhsl(310, 62%, 47%)
HSVhsv(310, 76%, 76%)
CMYKcmyk(0%, 76.2%, 12.4%, 24.3%)
CIE-LABlab(47.18, 68.59, -33.17)
CIE-LCHlch(47.18, 76.19, 334.19°)
OKLaboklab(57.39% 0.201 -0.0906)
OKLCHoklch(57.39% 0.22 335.7)
XYZxyz(30.1312, 16.1588, 39.0605)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12EA9 #2EC146
analogous
#902EC1 #C12EA9 #C12E60
triadic
#C12EA9 #A9C12E #2EA9C1
tetradic
#C12EA9 #C1902E #2EC146 #2E60C1
square
#C12EA9 #C1902E #2EC146 #2E60C1
split-complementary
#C12EA9 #60C12E #2EC190
monochromatic
#5E1652 #90227E #C12EA9 #D756C2 #E287D3

Accessibility & contrast

On white

4.96
#C12EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#C12EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12EA9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12EA9#FFFFFF#000000##FFFFFF
##C12EA91.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F62AC
Deuteranopia (green-blind)
#6578A6
Tritanopia (blue-blind)
#CB3A69
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c12ea9;
/* rgb */ color: rgb(193, 46, 169);
/* oklch */ color: oklch(57.4% 0.220 335.7);
Tailwind
colors: {
  custom: {
    50: '#d877c3',
    500: '#c12ea9',
    950: '#000000',
  },
}
SCSS
$custom: #c12ea9;
$custom-light: #d877c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c12ea9",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 309.796,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57393,
    "c": 0.22045,
    "h": 335.7
  },
  "luminance": 0.16156
}

Semantic roles & 50–950 ramp

primary
#C12EA9
secondary
#7FCC8B
accent
#E55E43
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C12EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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