#C12EBC#C12EBC

#C12EBC is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.4% C 0.234 H 329.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C12EBC
RGBrgb(193, 46, 188)
HSLhsl(302, 62%, 47%)
HSVhsv(302, 76%, 76%)
CMYKcmyk(0%, 76.2%, 2.6%, 24.3%)
CIE-LABlab(48.17, 71.43, -42.79)
CIE-LCHlch(48.17, 83.26, 329.08°)
OKLaboklab(58.42% 0.2016 -0.1183)
OKLCHoklch(58.42% 0.234 329.6)
XYZxyz(32.0462, 16.9248, 49.1462)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12EBC #2EC133
analogous
#7D2EC1 #C12EBC #C12E73
triadic
#C12EBC #BCC12E #2EBCC1
tetradic
#C12EBC #C17D2E #2EC133 #2E73C1
square
#C12EBC #C17D2E #2EC133 #2E73C1
split-complementary
#C12EBC #73C12E #2EC17D
monochromatic
#5E165C #90228C #C12EBC #D756D2 #E287DF

Accessibility & contrast

On white

4.79
#C12EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C12EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12EBC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12EBC#FFFFFF#000000##FFFFFF
##C12EBC1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1466C0
Deuteranopia (green-blind)
#5B79B8
Tritanopia (blue-blind)
#C84474
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c12ebc;
/* rgb */ color: rgb(193, 46, 188);
/* oklch */ color: oklch(58.4% 0.234 329.6);
Tailwind
colors: {
  custom: {
    50: '#d877d1',
    500: '#c12ebc',
    950: '#000000',
  },
}
SCSS
$custom: #c12ebc;
$custom-light: #d877d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c12ebc",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 302.041,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58416,
    "c": 0.2338,
    "h": 329.6
  },
  "luminance": 0.16922
}

Semantic roles & 50–950 ramp

primary
#C12EBC
secondary
#7FCC81
accent
#E54943
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C12EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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