#C12EB3#C12EB3

#C12EB3 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.9% C 0.227 H 332.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C12EB3
RGBrgb(193, 46, 179)
HSLhsl(306, 62%, 47%)
HSVhsv(306, 76%, 76%)
CMYKcmyk(0%, 76.2%, 7.3%, 24.3%)
CIE-LABlab(47.69, 70.06, -38.28)
CIE-LCHlch(47.69, 79.83, 331.35°)
OKLaboklab(57.92% 0.2015 -0.1053)
OKLCHoklch(57.92% 0.227 332.4)
XYZxyz(31.1061, 16.5487, 44.1950)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12EB3 #2EC13C
analogous
#852EC1 #C12EB3 #C12E6A
triadic
#C12EB3 #B3C12E #2EB3C1
tetradic
#C12EB3 #C1852E #2EC13C #2E6AC1
square
#C12EB3 #C1852E #2EC13C #2E6AC1
split-complementary
#C12EB3 #6AC12E #2EC185
monochromatic
#5E1657 #902285 #C12EB3 #D756CA #E287DA

Accessibility & contrast

On white

4.87
#C12EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C12EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12EB3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12EB3#FFFFFF#000000##FFFFFF
##C12EB31.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2464B7
Deuteranopia (green-blind)
#6078B0
Tritanopia (blue-blind)
#C93F6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c12eb3;
/* rgb */ color: rgb(193, 46, 179);
/* oklch */ color: oklch(57.9% 0.227 332.4);
Tailwind
colors: {
  custom: {
    50: '#d877ca',
    500: '#c12eb3',
    950: '#000000',
  },
}
SCSS
$custom: #c12eb3;
$custom-light: #d877ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c12eb3",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 305.714,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57919,
    "c": 0.22736,
    "h": 332.4
  },
  "luminance": 0.16546
}

Semantic roles & 50–950 ramp

primary
#C12EB3
secondary
#7FCC86
accent
#E55343
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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