#C12EB5#C12EB5

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

Color values

HEX#C12EB5
RGBrgb(193, 46, 181)
HSLhsl(305, 62%, 47%)
HSVhsv(305, 76%, 76%)
CMYKcmyk(0%, 76.2%, 6.2%, 24.3%)
CIE-LABlab(47.79, 70.36, -39.29)
CIE-LCHlch(47.79, 80.58, 330.82°)
OKLaboklab(58.03% 0.2016 -0.1082)
OKLCHoklch(58.03% 0.229 331.8)
XYZxyz(31.3099, 16.6302, 45.2680)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12EB5 #2EC13A
analogous
#842EC1 #C12EB5 #C12E6C
triadic
#C12EB5 #B5C12E #2EB5C1
tetradic
#C12EB5 #C1842E #2EC13A #2E6CC1
square
#C12EB5 #C1842E #2EC13A #2E6CC1
split-complementary
#C12EB5 #6CC12E #2EC184
monochromatic
#5E1658 #902287 #C12EB5 #D756CC #E287DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C12EB5#FFFFFF#000000##FFFFFF
##C12EB51.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)
#2164B9
Deuteranopia (green-blind)
#5F79B2
Tritanopia (blue-blind)
#C94070
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c12eb5;
/* rgb */ color: rgb(193, 46, 181);
/* oklch */ color: oklch(58.0% 0.229 331.8);
Tailwind
colors: {
  custom: {
    50: '#d877cb',
    500: '#c12eb5',
    950: '#000000',
  },
}
SCSS
$custom: #c12eb5;
$custom-light: #d877cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c12eb5",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 304.898,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58027,
    "c": 0.22878,
    "h": 331.8
  },
  "luminance": 0.16628
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C12EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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