#C031B1#C031B1

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

Color values

HEX#C031B1
RGBrgb(192, 49, 177)
HSLhsl(306, 59%, 47%)
HSVhsv(306, 74%, 75%)
CMYKcmyk(0%, 74.5%, 7.8%, 24.7%)
CIE-LABlab(47.73, 68.65, -37.05)
CIE-LCHlch(47.73, 78.01, 331.64°)
OKLaboklab(57.88% 0.1979 -0.1018)
OKLCHoklch(57.88% 0.222 332.8)
XYZxyz(30.7725, 16.5800, 43.1660)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C031B1 #31C040
analogous
#8831C0 #C031B1 #C03169
triadic
#C031B1 #B1C031 #31B1C0
tetradic
#C031B1 #C08831 #31C040 #3169C0
square
#C031B1 #C08831 #31C040 #3169C0
split-complementary
#C031B1 #69C031 #31C088
monochromatic
#5E1857 #8F2584 #C031B1 #D559C8 #E18AD8

Accessibility & contrast

On white

4.87
#C031B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C031B1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C031B1#FFFFFF#000000##FFFFFF
##C031B11.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2964B4
Deuteranopia (green-blind)
#6178AE
Tritanopia (blue-blind)
#C9416E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c031b1;
/* rgb */ color: rgb(192, 49, 177);
/* oklch */ color: oklch(57.9% 0.222 332.8);
Tailwind
colors: {
  custom: {
    50: '#d778c9',
    500: '#c031b1',
    950: '#000000',
  },
}
SCSS
$custom: #c031b1;
$custom-light: #d778c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c031b1",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 177
  },
  "hsl": {
    "h": 306.294,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57882,
    "c": 0.22249,
    "h": 332.8
  },
  "luminance": 0.16577
}

Semantic roles & 50–950 ramp

primary
#C031B1
secondary
#82CB89
accent
#E35645
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C031B1

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

Preview Lab → · Contrast checker → · Palette generator →

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