#C12FB0#C12FB0

#C12FB0 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.8% C 0.224 H 333.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C12FB0
RGBrgb(193, 47, 176)
HSLhsl(307, 61%, 47%)
HSVhsv(307, 76%, 76%)
CMYKcmyk(0%, 75.6%, 8.8%, 24.3%)
CIE-LABlab(47.63, 69.32, -36.60)
CIE-LCHlch(47.63, 78.39, 332.17°)
OKLaboklab(57.83% 0.2006 -0.1004)
OKLCHoklch(57.83% 0.224 333.4)
XYZxyz(30.8455, 16.5077, 42.6276)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12FB0 #2FC140
analogous
#892FC1 #C12FB0 #C12F67
triadic
#C12FB0 #B0C12F #2FB0C1
tetradic
#C12FB0 #C1892F #2FC140 #2F67C1
square
#C12FB0 #C1892F #2FC140 #2F67C1
split-complementary
#C12FB0 #67C12F #2FC189
monochromatic
#5F1756 #902383 #C12FB0 #D657C7 #E288D8

Accessibility & contrast

On white

4.88
#C12FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12FB0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12FB0#FFFFFF#000000##FFFFFF
##C12FB01.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2964B3
Deuteranopia (green-blind)
#6278AD
Tritanopia (blue-blind)
#CA3E6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c12fb0;
/* rgb */ color: rgb(193, 47, 176);
/* oklch */ color: oklch(57.8% 0.224 333.4);
Tailwind
colors: {
  custom: {
    50: '#d877c8',
    500: '#c12fb0',
    950: '#000000',
  },
}
SCSS
$custom: #c12fb0;
$custom-light: #d877c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c12fb0",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 306.986,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57831,
    "c": 0.22429,
    "h": 333.4
  },
  "luminance": 0.16505
}

Semantic roles & 50–950 ramp

primary
#C12FB0
secondary
#80CC89
accent
#E45644
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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