#C12EB0#C12EB0

#C12EB0 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.8% C 0.225 H 333.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C12EB0
RGBrgb(193, 46, 176)
HSLhsl(307, 62%, 47%)
HSVhsv(307, 76%, 76%)
CMYKcmyk(0%, 76.2%, 8.8%, 24.3%)
CIE-LABlab(47.53, 69.61, -36.76)
CIE-LCHlch(47.53, 78.72, 332.16°)
OKLaboklab(57.76% 0.2014 -0.1009)
OKLCHoklch(57.76% 0.225 333.4)
XYZxyz(30.8060, 16.4287, 42.6145)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12EB0 #2EC13F
analogous
#892EC1 #C12EB0 #C12E67
triadic
#C12EB0 #B0C12E #2EB0C1
tetradic
#C12EB0 #C1892E #2EC13F #2E67C1
square
#C12EB0 #C1892E #2EC13F #2E67C1
split-complementary
#C12EB0 #67C12E #2EC189
monochromatic
#5E1656 #902283 #C12EB0 #D756C8 #E287D8

Accessibility & contrast

On white

4.90
#C12EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#C12EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12EB0
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12EB0#FFFFFF#000000##FFFFFF
##C12EB01.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2863B3
Deuteranopia (green-blind)
#6178AD
Tritanopia (blue-blind)
#CA3E6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c12eb0;
/* rgb */ color: rgb(193, 46, 176);
/* oklch */ color: oklch(57.8% 0.225 333.4);
Tailwind
colors: {
  custom: {
    50: '#d877c8',
    500: '#c12eb0',
    950: '#000000',
  },
}
SCSS
$custom: #c12eb0;
$custom-light: #d877c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c12eb0",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 306.939,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57758,
    "c": 0.22526,
    "h": 333.4
  },
  "luminance": 0.16426
}

Semantic roles & 50–950 ramp

primary
#C12EB0
secondary
#7FCC88
accent
#E55643
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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