#C131C1#C131C1

#C131C1 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.9% C 0.235 H 328.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C131C1
RGBrgb(193, 49, 193)
HSLhsl(300, 60%, 47%)
HSVhsv(300, 75%, 76%)
CMYKcmyk(0%, 74.6%, 0%, 24.3%)
CIE-LABlab(48.74, 71.34, -44.78)
CIE-LCHlch(48.74, 84.23, 327.89°)
OKLaboklab(58.92% 0.1991 -0.1241)
OKLCHoklch(58.92% 0.235 328.1)
XYZxyz(32.7159, 17.3867, 52.0746)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C131C1 #31C131
analogous
#7931C1 #C131C1 #C13179
triadic
#C131C1 #C1C131 #31C1C1
tetradic
#C131C1 #C17931 #31C131 #3179C1
square
#C131C1 #C17931 #31C131 #3179C1
split-complementary
#C131C1 #79C131 #31C179
monochromatic
#5F185F #902590 #C131C1 #D55AD5 #E28BE2

Accessibility & contrast

On white

4.69
#C131C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#C131C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C131C1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C131C1#FFFFFF#000000##FFFFFF
##C131C11.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E68C5
Deuteranopia (green-blind)
#597ABD
Tritanopia (blue-blind)
#C74877
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c131c1;
/* rgb */ color: rgb(193, 49, 193);
/* oklch */ color: oklch(58.9% 0.235 328.1);
Tailwind
colors: {
  custom: {
    50: '#d879d4',
    500: '#c131c1',
    950: '#000000',
  },
}
SCSS
$custom: #c131c1;
$custom-light: #d879d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c131c1",
  "rgb": {
    "r": 193,
    "g": 49,
    "b": 193
  },
  "hsl": {
    "h": 300,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58917,
    "c": 0.23463,
    "h": 328.1
  },
  "luminance": 0.17384
}

Semantic roles & 50–950 ramp

primary
#C131C1
secondary
#82CC82
accent
#E34545
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C131C1

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

Preview Lab → · Contrast checker → · Palette generator →

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