#C12DB9#C12DB9

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

Color values

HEX#C12DB9
RGBrgb(193, 45, 185)
HSLhsl(303, 62%, 47%)
HSVhsv(303, 77%, 76%)
CMYKcmyk(0%, 76.7%, 4.1%, 24.3%)
CIE-LABlab(47.90, 71.25, -41.45)
CIE-LCHlch(47.90, 82.43, 329.81°)
OKLaboklab(58.18% 0.2025 -0.1144)
OKLCHoklch(58.18% 0.233 330.5)
XYZxyz(31.6876, 16.7196, 47.4478)
Luminance0.1672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12DB9 #2DC135
analogous
#7F2DC1 #C12DB9 #C12D6F
triadic
#C12DB9 #B9C12D #2DB9C1
tetradic
#C12DB9 #C17F2D #2DC135 #2D6FC1
square
#C12DB9 #C17F2D #2DC135 #2D6FC1
split-complementary
#C12DB9 #6FC12D #2DC17F
monochromatic
#5E165A #8F2189 #C12DB9 #D754D0 #E386DE

Accessibility & contrast

On white

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

On black

4.34
#C12DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C12DB9#FFFFFF#000000##FFFFFF
##C12DB91.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1965BD
Deuteranopia (green-blind)
#5C79B5
Tritanopia (blue-blind)
#C84272
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c12db9;
/* rgb */ color: rgb(193, 45, 185);
/* oklch */ color: oklch(58.2% 0.233 330.5);
Tailwind
colors: {
  custom: {
    50: '#d877ce',
    500: '#c12db9',
    950: '#000000',
  },
}
SCSS
$custom: #c12db9;
$custom-light: #d877ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c12db9",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 303.243,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.58177,
    "c": 0.23257,
    "h": 330.5
  },
  "luminance": 0.16717
}

Semantic roles & 50–950 ramp

primary
#C12DB9
secondary
#7ECC82
accent
#E54B43
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C12DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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