#C031B4#C031B4

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

Color values

HEX#C031B4
RGBrgb(192, 49, 180)
HSLhsl(305, 59%, 47%)
HSVhsv(305, 74%, 75%)
CMYKcmyk(0%, 74.5%, 6.2%, 24.7%)
CIE-LABlab(47.88, 69.10, -38.57)
CIE-LCHlch(47.88, 79.14, 330.83°)
OKLaboklab(58.04% 0.198 -0.1062)
OKLCHoklch(58.04% 0.225 331.8)
XYZxyz(31.0748, 16.7009, 44.7581)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C031B4 #31C03D
analogous
#8531C0 #C031B4 #C0316D
triadic
#C031B4 #B4C031 #31B4C0
tetradic
#C031B4 #C08531 #31C03D #316DC0
square
#C031B4 #C08531 #31C03D #316DC0
split-complementary
#C031B4 #6DC031 #31C085
monochromatic
#5E1859 #8F2586 #C031B4 #D559CA #E18ADA

Accessibility & contrast

On white

4.84
#C031B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#C031B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C031B4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C031B4#FFFFFF#000000##FFFFFF
##C031B41.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2665B8
Deuteranopia (green-blind)
#6079B1
Tritanopia (blue-blind)
#C84270
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c031b4;
/* rgb */ color: rgb(192, 49, 180);
/* oklch */ color: oklch(58.0% 0.225 331.8);
Tailwind
colors: {
  custom: {
    50: '#d778cb',
    500: '#c031b4',
    950: '#000000',
  },
}
SCSS
$custom: #c031b4;
$custom-light: #d778cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c031b4",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 180
  },
  "hsl": {
    "h": 305.035,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58043,
    "c": 0.22464,
    "h": 331.8
  },
  "luminance": 0.16698
}

Semantic roles & 50–950 ramp

primary
#C031B4
secondary
#82CB88
accent
#E35245
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C031B4

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

Preview Lab → · Contrast checker → · Palette generator →

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