#C031B5#C031B5

#C031B5 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.1% C 0.225 H 331.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C031B5
RGBrgb(192, 49, 181)
HSLhsl(305, 59%, 47%)
HSVhsv(305, 74%, 75%)
CMYKcmyk(0%, 74.5%, 5.7%, 24.7%)
CIE-LABlab(47.93, 69.25, -39.07)
CIE-LCHlch(47.93, 79.52, 330.57°)
OKLaboklab(58.1% 0.198 -0.1076)
OKLCHoklch(58.1% 0.225 331.5)
XYZxyz(31.1770, 16.7418, 45.2966)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C031B5 #31C03C
analogous
#8331C0 #C031B5 #C0316E
triadic
#C031B5 #B5C031 #31B5C0
tetradic
#C031B5 #C08331 #31C03C #316EC0
square
#C031B5 #C08331 #31C03C #316EC0
split-complementary
#C031B5 #6EC031 #31C083
monochromatic
#5E1859 #8F2587 #C031B5 #D559CB #E18ADB

Accessibility & contrast

On white

4.83
#C031B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#C031B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C031B5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C031B5#FFFFFF#000000##FFFFFF
##C031B51.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2465B9
Deuteranopia (green-blind)
#5F79B2
Tritanopia (blue-blind)
#C84371
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c031b5;
/* rgb */ color: rgb(192, 49, 181);
/* oklch */ color: oklch(58.1% 0.225 331.5);
Tailwind
colors: {
  custom: {
    50: '#d778cb',
    500: '#c031b5',
    950: '#000000',
  },
}
SCSS
$custom: #c031b5;
$custom-light: #d778cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c031b5",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 304.615,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58097,
    "c": 0.22535,
    "h": 331.5
  },
  "luminance": 0.16739
}

Semantic roles & 50–950 ramp

primary
#C031B5
secondary
#82CB87
accent
#E35145
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C031B5

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

Preview Lab → · Contrast checker → · Palette generator →

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