#C12FB3#C12FB3

#C12FB3 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.0% C 0.226 H 332.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#C12FB3
RGBrgb(193, 47, 179)
HSLhsl(306, 61%, 47%)
HSVhsv(306, 76%, 76%)
CMYKcmyk(0%, 75.6%, 7.3%, 24.3%)
CIE-LABlab(47.79, 69.77, -38.12)
CIE-LCHlch(47.79, 79.50, 331.35°)
OKLaboklab(57.99% 0.2007 -0.1048)
OKLCHoklch(57.99% 0.226 332.4)
XYZxyz(31.1456, 16.6278, 44.2082)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12FB3 #2FC13D
analogous
#862FC1 #C12FB3 #C12F6A
triadic
#C12FB3 #B3C12F #2FB3C1
tetradic
#C12FB3 #C1862F #2FC13D #2F6AC1
square
#C12FB3 #C1862F #2FC13D #2F6AC1
split-complementary
#C12FB3 #6AC12F #2FC186
monochromatic
#5F1758 #902385 #C12FB3 #D657CA #E288D9

Accessibility & contrast

On white

4.86
#C12FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#C12FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12FB3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12FB3#FFFFFF#000000##FFFFFF
##C12FB31.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2564B7
Deuteranopia (green-blind)
#6079B0
Tritanopia (blue-blind)
#C9406F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c12fb3;
/* rgb */ color: rgb(193, 47, 179);
/* oklch */ color: oklch(58.0% 0.226 332.4);
Tailwind
colors: {
  custom: {
    50: '#d877ca',
    500: '#c12fb3',
    950: '#000000',
  },
}
SCSS
$custom: #c12fb3;
$custom-light: #d877ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c12fb3",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 305.753,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57991,
    "c": 0.22641,
    "h": 332.4
  },
  "luminance": 0.16625
}

Semantic roles & 50–950 ramp

primary
#C12FB3
secondary
#80CC87
accent
#E45344
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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