#C031B0#C031B0

#C031B0 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.8% C 0.222 H 333.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C031B0
RGBrgb(192, 49, 176)
HSLhsl(307, 59%, 47%)
HSVhsv(307, 74%, 75%)
CMYKcmyk(0%, 74.5%, 8.3%, 24.7%)
CIE-LABlab(47.68, 68.50, -36.54)
CIE-LCHlch(47.68, 77.63, 331.92°)
OKLaboklab(57.83% 0.1978 -0.1003)
OKLCHoklch(57.83% 0.222 333.1)
XYZxyz(30.6732, 16.5403, 42.6430)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C031B0 #31C041
analogous
#8831C0 #C031B0 #C03169
triadic
#C031B0 #B0C031 #31B0C0
tetradic
#C031B0 #C08831 #31C041 #3169C0
square
#C031B0 #C08831 #31C041 #3169C0
split-complementary
#C031B0 #69C031 #31C088
monochromatic
#5E1857 #8F2583 #C031B0 #D559C7 #E18AD7

Accessibility & contrast

On white

4.88
#C031B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C031B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C031B0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C031B0#FFFFFF#000000##FFFFFF
##C031B01.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B64B3
Deuteranopia (green-blind)
#6278AD
Tritanopia (blue-blind)
#C9406E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c031b0;
/* rgb */ color: rgb(192, 49, 176);
/* oklch */ color: oklch(57.8% 0.222 333.1);
Tailwind
colors: {
  custom: {
    50: '#d778c8',
    500: '#c031b0',
    950: '#000000',
  },
}
SCSS
$custom: #c031b0;
$custom-light: #d778c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c031b0",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 306.713,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57829,
    "c": 0.22178,
    "h": 333.1
  },
  "luminance": 0.16538
}

Semantic roles & 50–950 ramp

primary
#C031B0
secondary
#82CB8A
accent
#E35745
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C031B0

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

Preview Lab → · Contrast checker → · Palette generator →

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