#C131AF#C131AF

#C131AF is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.9% C 0.222 H 333.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C131AF
RGBrgb(193, 49, 175)
HSLhsl(308, 60%, 47%)
HSVhsv(308, 75%, 76%)
CMYKcmyk(0%, 74.6%, 9.3%, 24.3%)
CIE-LABlab(47.79, 68.57, -35.76)
CIE-LCHlch(47.79, 77.33, 332.46°)
OKLaboklab(57.93% 0.1987 -0.098)
OKLCHoklch(57.93% 0.222 333.7)
XYZxyz(30.8288, 16.6319, 42.1357)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C131AF #31C143
analogous
#8B31C1 #C131AF #C13167
triadic
#C131AF #AFC131 #31AFC1
tetradic
#C131AF #C18B31 #31C143 #3167C1
square
#C131AF #C18B31 #31C143 #3167C1
split-complementary
#C131AF #67C131 #31C18B
monochromatic
#5F1856 #902583 #C131AF #D55AC6 #E28BD7

Accessibility & contrast

On white

4.85
#C131AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#C131AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C131AF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C131AF#FFFFFF#000000##FFFFFF
##C131AF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#6379AC
Tritanopia (blue-blind)
#CA3F6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c131af;
/* rgb */ color: rgb(193, 49, 175);
/* oklch */ color: oklch(57.9% 0.222 333.7);
Tailwind
colors: {
  custom: {
    50: '#d878c7',
    500: '#c131af',
    950: '#000000',
  },
}
SCSS
$custom: #c131af;
$custom-light: #d878c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c131af",
  "rgb": {
    "r": 193,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 307.5,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57929,
    "c": 0.2216,
    "h": 333.7
  },
  "luminance": 0.16629
}

Semantic roles & 50–950 ramp

primary
#C131AF
secondary
#82CC8B
accent
#E35945
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C131AF

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

Preview Lab → · Contrast checker → · Palette generator →

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