#C12EAD#C12EAD

#C12EAD is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.6% C 0.223 H 334.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C12EAD
RGBrgb(193, 46, 173)
HSLhsl(308, 62%, 47%)
HSVhsv(308, 76%, 76%)
CMYKcmyk(0%, 76.2%, 10.4%, 24.3%)
CIE-LABlab(47.38, 69.17, -35.23)
CIE-LCHlch(47.38, 77.62, 333.01°)
OKLaboklab(57.6% 0.2013 -0.0965)
OKLCHoklch(57.6% 0.223 334.4)
XYZxyz(30.5125, 16.3113, 41.0685)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12EAD #2EC142
analogous
#8C2EC1 #C12EAD #C12E64
triadic
#C12EAD #ADC12E #2EADC1
tetradic
#C12EAD #C18C2E #2EC142 #2E64C1
square
#C12EAD #C18C2E #2EC142 #2E64C1
split-complementary
#C12EAD #64C12E #2EC18C
monochromatic
#5E1654 #902281 #C12EAD #D756C5 #E287D6

Accessibility & contrast

On white

4.93
#C12EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#C12EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12EAD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12EAD#FFFFFF#000000##FFFFFF
##C12EAD1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B63B0
Deuteranopia (green-blind)
#6378AA
Tritanopia (blue-blind)
#CA3C6B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c12ead;
/* rgb */ color: rgb(193, 46, 173);
/* oklch */ color: oklch(57.6% 0.223 334.4);
Tailwind
colors: {
  custom: {
    50: '#d877c6',
    500: '#c12ead',
    950: '#000000',
  },
}
SCSS
$custom: #c12ead;
$custom-light: #d877c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c12ead",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 173
  },
  "hsl": {
    "h": 308.163,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.576,
    "c": 0.22318,
    "h": 334.4
  },
  "luminance": 0.16309
}

Semantic roles & 50–950 ramp

primary
#C12EAD
secondary
#7FCC89
accent
#E55943
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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