#C031C5#C031C5

#C031C5 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 59.0% C 0.237 H 326.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C031C5
RGBrgb(192, 49, 197)
HSLhsl(298, 60%, 48%)
HSVhsv(298, 75%, 77%)
CMYKcmyk(2.5%, 75.1%, 0%, 22.7%)
CIE-LABlab(48.81, 71.78, -47.01)
CIE-LCHlch(48.81, 85.81, 326.78°)
OKLaboklab(59% 0.1979 -0.1306)
OKLCHoklch(59% 0.237 326.6)
XYZxyz(32.9140, 17.4366, 54.4445)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C031C5 #36C531
analogous
#7631C5 #C031C5 #C53180
triadic
#C031C5 #C5C031 #31C5C0
tetradic
#C031C5 #C57631 #36C531 #3180C5
square
#C031C5 #C57631 #36C531 #3180C5
split-complementary
#C031C5 #80C531 #31C576
monochromatic
#601963 #902594 #C031C5 #D25DD7 #E08EE3

Accessibility & contrast

On white

4.68
#C031C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#C031C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C031C5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C031C5#FFFFFF#000000##FFFFFF
##C031C51.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069C9
Deuteranopia (green-blind)
#567AC1
Tritanopia (blue-blind)
#C54B7A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c031c5;
/* rgb */ color: rgb(192, 49, 197);
/* oklch */ color: oklch(59.0% 0.237 326.6);
Tailwind
colors: {
  custom: {
    50: '#d779d7',
    500: '#c031c5',
    950: '#000000',
  },
}
SCSS
$custom: #c031c5;
$custom-light: #d779d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c031c5",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 297.973,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.59002,
    "c": 0.23717,
    "h": 326.6
  },
  "luminance": 0.17434
}

Semantic roles & 50–950 ramp

primary
#C031C5
secondary
#87CD85
accent
#E3444A
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C031C5

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

Preview Lab → · Contrast checker → · Palette generator →

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