#C12FB6#C12FB6

#C12FB6 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.2% C 0.229 H 331.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C12FB6
RGBrgb(193, 47, 182)
HSLhsl(305, 61%, 47%)
HSVhsv(305, 76%, 76%)
CMYKcmyk(0%, 75.6%, 5.7%, 24.3%)
CIE-LABlab(47.94, 70.22, -39.63)
CIE-LCHlch(47.94, 80.63, 330.56°)
OKLaboklab(58.15% 0.2008 -0.1092)
OKLCHoklch(58.15% 0.229 331.5)
XYZxyz(31.4523, 16.7505, 45.8235)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12FB6 #2FC13A
analogous
#832FC1 #C12FB6 #C12F6D
triadic
#C12FB6 #B6C12F #2FB6C1
tetradic
#C12FB6 #C1832F #2FC13A #2F6DC1
square
#C12FB6 #C1832F #2FC13A #2F6DC1
split-complementary
#C12FB6 #6DC12F #2FC183
monochromatic
#5F1759 #902388 #C12FB6 #D657CD #E288DB

Accessibility & contrast

On white

4.83
#C12FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#C12FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12FB6
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12FB6#FFFFFF#000000##FFFFFF
##C12FB61.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2165BA
Deuteranopia (green-blind)
#5F79B3
Tritanopia (blue-blind)
#C94271
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c12fb6;
/* rgb */ color: rgb(193, 47, 182);
/* oklch */ color: oklch(58.2% 0.229 331.5);
Tailwind
colors: {
  custom: {
    50: '#d878cc',
    500: '#c12fb6',
    950: '#000000',
  },
}
SCSS
$custom: #c12fb6;
$custom-light: #d878cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c12fb6",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 304.521,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58154,
    "c": 0.22853,
    "h": 331.5
  },
  "luminance": 0.16748
}

Semantic roles & 50–950 ramp

primary
#C12FB6
secondary
#80CC86
accent
#E45044
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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