#C12EB9#C12EB9

#C12EB9 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.2% C 0.232 H 330.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C12EB9
RGBrgb(193, 46, 185)
HSLhsl(303, 62%, 47%)
HSVhsv(303, 76%, 76%)
CMYKcmyk(0%, 76.2%, 4.1%, 24.3%)
CIE-LABlab(48.00, 70.97, -41.29)
CIE-LCHlch(48.00, 82.10, 329.81°)
OKLaboklab(58.25% 0.2016 -0.114)
OKLCHoklch(58.25% 0.232 330.5)
XYZxyz(31.7262, 16.7968, 47.4607)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12EB9 #2EC136
analogous
#7F2EC1 #C12EB9 #C12E70
triadic
#C12EB9 #B9C12E #2EB9C1
tetradic
#C12EB9 #C17F2E #2EC136 #2E70C1
square
#C12EB9 #C17F2E #2EC136 #2E70C1
split-complementary
#C12EB9 #70C12E #2EC17F
monochromatic
#5E165A #90228A #C12EB9 #D756D0 #E287DD

Accessibility & contrast

On white

4.82
#C12EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C12EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12EB9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12EB9#FFFFFF#000000##FFFFFF
##C12EB91.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A65BD
Deuteranopia (green-blind)
#5D79B5
Tritanopia (blue-blind)
#C84272
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c12eb9;
/* rgb */ color: rgb(193, 46, 185);
/* oklch */ color: oklch(58.2% 0.232 330.5);
Tailwind
colors: {
  custom: {
    50: '#d877ce',
    500: '#c12eb9',
    950: '#000000',
  },
}
SCSS
$custom: #c12eb9;
$custom-light: #d877ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c12eb9",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 303.265,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58247,
    "c": 0.23163,
    "h": 330.5
  },
  "luminance": 0.16794
}

Semantic roles & 50–950 ramp

primary
#C12EB9
secondary
#7FCC83
accent
#E54C43
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C12EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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