#C131B7#C131B7

#C131B7 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.4% C 0.227 H 331.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C131B7
RGBrgb(193, 49, 183)
HSLhsl(304, 60%, 47%)
HSVhsv(304, 75%, 76%)
CMYKcmyk(0%, 74.6%, 5.2%, 24.3%)
CIE-LABlab(48.20, 69.78, -39.80)
CIE-LCHlch(48.20, 80.33, 330.30°)
OKLaboklab(58.36% 0.1991 -0.1097)
OKLCHoklch(58.36% 0.227 331.1)
XYZxyz(31.6378, 16.9555, 46.3970)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C131B7 #31C13B
analogous
#8331C1 #C131B7 #C1316F
triadic
#C131B7 #B7C131 #31B7C1
tetradic
#C131B7 #C18331 #31C13B #316FC1
square
#C131B7 #C18331 #31C13B #316FC1
split-complementary
#C131B7 #6FC131 #31C183
monochromatic
#5F185A #902589 #C131B7 #D55ACD #E28BDC

Accessibility & contrast

On white

4.78
#C131B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C131B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C131B7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C131B7#FFFFFF#000000##FFFFFF
##C131B71.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2366BB
Deuteranopia (green-blind)
#5F79B4
Tritanopia (blue-blind)
#C94372
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c131b7;
/* rgb */ color: rgb(193, 49, 183);
/* oklch */ color: oklch(58.4% 0.227 331.1);
Tailwind
colors: {
  custom: {
    50: '#d878cd',
    500: '#c131b7',
    950: '#000000',
  },
}
SCSS
$custom: #c131b7;
$custom-light: #d878cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c131b7",
  "rgb": {
    "r": 193,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 304.167,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58357,
    "c": 0.2273,
    "h": 331.1
  },
  "luminance": 0.16953
}

Semantic roles & 50–950 ramp

primary
#C131B7
secondary
#82CC87
accent
#E35045
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C131B7

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

Preview Lab → · Contrast checker → · Palette generator →

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