#C12FB1#C12FB1

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

Color values

HEX#C12FB1
RGBrgb(193, 47, 177)
HSLhsl(307, 61%, 47%)
HSVhsv(307, 76%, 76%)
CMYKcmyk(0%, 75.6%, 8.3%, 24.3%)
CIE-LABlab(47.68, 69.47, -37.10)
CIE-LCHlch(47.68, 78.75, 331.89°)
OKLaboklab(57.88% 0.2006 -0.1019)
OKLCHoklch(57.88% 0.225 333.1)
XYZxyz(30.9448, 16.5475, 43.1506)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12FB1 #2FC13F
analogous
#882FC1 #C12FB1 #C12F68
triadic
#C12FB1 #B1C12F #2FB1C1
tetradic
#C12FB1 #C1882F #2FC13F #2F68C1
square
#C12FB1 #C1882F #2FC13F #2F68C1
split-complementary
#C12FB1 #68C12F #2FC188
monochromatic
#5F1757 #902384 #C12FB1 #D657C8 #E288D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C12FB1#FFFFFF#000000##FFFFFF
##C12FB11.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)
#2864B4
Deuteranopia (green-blind)
#6178AE
Tritanopia (blue-blind)
#CA3F6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c12fb1;
/* rgb */ color: rgb(193, 47, 177);
/* oklch */ color: oklch(57.9% 0.225 333.1);
Tailwind
colors: {
  custom: {
    50: '#d877c9',
    500: '#c12fb1',
    950: '#000000',
  },
}
SCSS
$custom: #c12fb1;
$custom-light: #d877c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c12fb1",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 306.575,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57884,
    "c": 0.22499,
    "h": 333.1
  },
  "luminance": 0.16545
}

Semantic roles & 50–950 ramp

primary
#C12FB1
secondary
#80CC88
accent
#E45544
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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