#C12CB5#C12CB5

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

Color values

HEX#C12CB5
RGBrgb(193, 44, 181)
HSLhsl(305, 63%, 46%)
HSVhsv(305, 77%, 76%)
CMYKcmyk(0%, 77.2%, 6.2%, 24.3%)
CIE-LABlab(47.59, 70.92, -39.60)
CIE-LCHlch(47.59, 81.22, 330.82°)
OKLaboklab(57.89% 0.2032 -0.1091)
OKLCHoklch(57.89% 0.231 331.8)
XYZxyz(31.2336, 16.4776, 45.2426)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12CB5 #2CC138
analogous
#832CC1 #C12CB5 #C12C6B
triadic
#C12CB5 #B5C12C #2CB5C1
tetradic
#C12CB5 #C1832C #2CC138 #2C6BC1
square
#C12CB5 #C1832C #2CC138 #2C6BC1
split-complementary
#C12CB5 #6BC12C #2CC183
monochromatic
#5D1558 #8F2186 #C12CB5 #D853CD #E384DB

Accessibility & contrast

On white

4.89
#C12CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#C12CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12CB5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12CB5#FFFFFF#000000##FFFFFF
##C12CB51.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E64B9
Deuteranopia (green-blind)
#5E78B2
Tritanopia (blue-blind)
#C93F6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c12cb5;
/* rgb */ color: rgb(193, 44, 181);
/* oklch */ color: oklch(57.9% 0.231 331.8);
Tailwind
colors: {
  custom: {
    50: '#d876cb',
    500: '#c12cb5',
    950: '#000000',
  },
}
SCSS
$custom: #c12cb5;
$custom-light: #d876cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c12cb5",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 304.832,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57887,
    "c": 0.23063,
    "h": 331.8
  },
  "luminance": 0.16475
}

Semantic roles & 50–950 ramp

primary
#C12CB5
secondary
#7DCC83
accent
#E64F42
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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