#C131AE#C131AE

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

Color values

HEX#C131AE
RGBrgb(193, 49, 174)
HSLhsl(308, 60%, 47%)
HSVhsv(308, 75%, 76%)
CMYKcmyk(0%, 74.6%, 9.8%, 24.3%)
CIE-LABlab(47.74, 68.42, -35.25)
CIE-LCHlch(47.74, 76.97, 332.75°)
OKLaboklab(57.88% 0.1987 -0.0966)
OKLCHoklch(57.88% 0.221 334.1)
XYZxyz(30.7309, 16.5928, 41.6204)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C131AE #31C144
analogous
#8C31C1 #C131AE #C13166
triadic
#C131AE #AEC131 #31AEC1
tetradic
#C131AE #C18C31 #31C144 #3166C1
square
#C131AE #C18C31 #31C144 #3166C1
split-complementary
#C131AE #66C131 #31C18C
monochromatic
#5F1856 #902582 #C131AE #D55AC5 #E28BD6

Accessibility & contrast

On white

4.86
#C131AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#C131AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C131AE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C131AE#FFFFFF#000000##FFFFFF
##C131AE1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c131ae;
/* rgb */ color: rgb(193, 49, 174);
/* oklch */ color: oklch(57.9% 0.221 334.1);
Tailwind
colors: {
  custom: {
    50: '#d878c6',
    500: '#c131ae',
    950: '#000000',
  },
}
SCSS
$custom: #c131ae;
$custom-light: #d878c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c131ae",
  "rgb": {
    "r": 193,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 307.917,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57877,
    "c": 0.2209,
    "h": 334.1
  },
  "luminance": 0.1659
}

Semantic roles & 50–950 ramp

primary
#C131AE
secondary
#82CC8C
accent
#E35A45
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C131AE

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

Preview Lab → · Contrast checker → · Palette generator →

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