#C12FBA#C12FBA

#C12FBA is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.4% C 0.231 H 330.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C12FBA
RGBrgb(193, 47, 186)
HSLhsl(303, 61%, 47%)
HSVhsv(303, 76%, 76%)
CMYKcmyk(0%, 75.6%, 3.6%, 24.3%)
CIE-LABlab(48.16, 70.83, -41.63)
CIE-LCHlch(48.16, 82.16, 329.55°)
OKLaboklab(58.38% 0.2008 -0.115)
OKLCHoklch(58.38% 0.231 330.2)
XYZxyz(31.8716, 16.9182, 48.0318)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12FBA #2FC136
analogous
#7F2FC1 #C12FBA #C12F71
triadic
#C12FBA #BAC12F #2FBAC1
tetradic
#C12FBA #C17F2F #2FC136 #2F71C1
square
#C12FBA #C17F2F #2FC136 #2F71C1
split-complementary
#C12FBA #71C12F #2FC17F
monochromatic
#5F175B #90238B #C12FBA #D657D0 #E288DE

Accessibility & contrast

On white

4.79
#C12FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C12FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12FBA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12FBA#FFFFFF#000000##FFFFFF
##C12FBA1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A66BE
Deuteranopia (green-blind)
#5D79B7
Tritanopia (blue-blind)
#C84473
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c12fba;
/* rgb */ color: rgb(193, 47, 186);
/* oklch */ color: oklch(58.4% 0.231 330.2);
Tailwind
colors: {
  custom: {
    50: '#d878cf',
    500: '#c12fba',
    950: '#000000',
  },
}
SCSS
$custom: #c12fba;
$custom-light: #d878cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c12fba",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 302.877,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58375,
    "c": 0.23141,
    "h": 330.2
  },
  "luminance": 0.16916
}

Semantic roles & 50–950 ramp

primary
#C12FBA
secondary
#80CC84
accent
#E44C44
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C12FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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