#C12EB6#C12EB6

#C12EB6 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.1% C 0.229 H 331.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C12EB6
RGBrgb(193, 46, 182)
HSLhsl(304, 62%, 47%)
HSVhsv(304, 76%, 76%)
CMYKcmyk(0%, 76.2%, 5.7%, 24.3%)
CIE-LABlab(47.84, 70.51, -39.79)
CIE-LCHlch(47.84, 80.96, 330.56°)
OKLaboklab(58.08% 0.2016 -0.1096)
OKLCHoklch(58.08% 0.229 331.5)
XYZxyz(31.4128, 16.6714, 45.8104)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12EB6 #2EC139
analogous
#832EC1 #C12EB6 #C12E6D
triadic
#C12EB6 #B6C12E #2EB6C1
tetradic
#C12EB6 #C1832E #2EC139 #2E6DC1
square
#C12EB6 #C1832E #2EC139 #2E6DC1
split-complementary
#C12EB6 #6DC12E #2EC183
monochromatic
#5E1659 #902287 #C12EB6 #D756CD #E287DC

Accessibility & contrast

On white

4.85
#C12EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#C12EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12EB6
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12EB6#FFFFFF#000000##FFFFFF
##C12EB61.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2065BA
Deuteranopia (green-blind)
#5E79B3
Tritanopia (blue-blind)
#C94170
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c12eb6;
/* rgb */ color: rgb(193, 46, 182);
/* oklch */ color: oklch(58.1% 0.229 331.5);
Tailwind
colors: {
  custom: {
    50: '#d877cc',
    500: '#c12eb6',
    950: '#000000',
  },
}
SCSS
$custom: #c12eb6;
$custom-light: #d877cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c12eb6",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 304.49,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58082,
    "c": 0.22949,
    "h": 331.5
  },
  "luminance": 0.16669
}

Semantic roles & 50–950 ramp

primary
#C12EB6
secondary
#7FCC85
accent
#E54F43
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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