#C12FB9#C12FB9

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

Color values

HEX#C12FB9
RGBrgb(193, 47, 185)
HSLhsl(303, 61%, 47%)
HSVhsv(303, 76%, 76%)
CMYKcmyk(0%, 75.6%, 4.1%, 24.3%)
CIE-LABlab(48.10, 70.68, -41.13)
CIE-LCHlch(48.10, 81.78, 329.80°)
OKLaboklab(58.32% 0.2008 -0.1135)
OKLCHoklch(58.32% 0.231 330.5)
XYZxyz(31.7657, 16.8758, 47.4738)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12FB9 #2FC137
analogous
#802FC1 #C12FB9 #C12F70
triadic
#C12FB9 #B9C12F #2FB9C1
tetradic
#C12FB9 #C1802F #2FC137 #2F70C1
square
#C12FB9 #C1802F #2FC137 #2F70C1
split-complementary
#C12FB9 #70C12F #2FC180
monochromatic
#5F175B #90238A #C12FB9 #D657CF #E288DD

Accessibility & contrast

On white

4.80
#C12FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#C12FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12FB9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12FB9#FFFFFF#000000##FFFFFF
##C12FB91.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C66BD
Deuteranopia (green-blind)
#5D79B6
Tritanopia (blue-blind)
#C84372
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c12fb9;
/* rgb */ color: rgb(193, 47, 185);
/* oklch */ color: oklch(58.3% 0.231 330.5);
Tailwind
colors: {
  custom: {
    50: '#d878ce',
    500: '#c12fb9',
    950: '#000000',
  },
}
SCSS
$custom: #c12fb9;
$custom-light: #d878ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c12fb9",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 303.288,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58319,
    "c": 0.23069,
    "h": 330.5
  },
  "luminance": 0.16873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C12FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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