#C031BB#C031BB

#C031BB is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.4% C 0.230 H 329.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C031BB
RGBrgb(192, 49, 187)
HSLhsl(302, 59%, 47%)
HSVhsv(302, 74%, 75%)
CMYKcmyk(0%, 74.5%, 2.6%, 24.7%)
CIE-LABlab(48.25, 70.18, -42.08)
CIE-LCHlch(48.25, 81.83, 329.06°)
OKLaboklab(58.43% 0.1981 -0.1163)
OKLCHoklch(58.43% 0.23 329.6)
XYZxyz(31.8060, 16.9934, 48.6089)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C031BB #31C036
analogous
#7E31C0 #C031BB #C03174
triadic
#C031BB #BBC031 #31BBC0
tetradic
#C031BB #C07E31 #31C036 #3174C0
square
#C031BB #C07E31 #31C036 #3174C0
split-complementary
#C031BB #74C031 #31C07E
monochromatic
#5E185C #8F258C #C031BB #D559D0 #E18ADE

Accessibility & contrast

On white

4.77
#C031BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C031BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C031BB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C031BB#FFFFFF#000000##FFFFFF
##C031BB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B66BF
Deuteranopia (green-blind)
#5C79B8
Tritanopia (blue-blind)
#C74674
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c031bb;
/* rgb */ color: rgb(192, 49, 187);
/* oklch */ color: oklch(58.4% 0.230 329.6);
Tailwind
colors: {
  custom: {
    50: '#d778d0',
    500: '#c031bb',
    950: '#000000',
  },
}
SCSS
$custom: #c031bb;
$custom-light: #d778d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c031bb",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 302.098,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58428,
    "c": 0.22972,
    "h": 329.6
  },
  "luminance": 0.16991
}

Semantic roles & 50–950 ramp

primary
#C031BB
secondary
#82CB84
accent
#E34B45
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C031BB

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

Preview Lab → · Contrast checker → · Palette generator →

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