#B031B0#B031B0

#B031B0 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.214 H 328.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B031B0
RGBrgb(176, 49, 176)
HSLhsl(300, 56%, 44%)
HSVhsv(300, 72%, 69%)
CMYKcmyk(0%, 72.2%, 0%, 31%)
CIE-LABlab(45.03, 64.97, -40.90)
CIE-LCHlch(45.03, 76.77, 327.81°)
OKLaboklab(55.43% 0.1813 -0.1133)
OKLCHoklch(55.43% 0.214 328)
XYZxyz(26.8389, 14.5633, 42.4633)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B031B0 #31B031
analogous
#7131B0 #B031B0 #B03171
triadic
#B031B0 #B0B031 #31B0B0
tetradic
#B031B0 #B07131 #31B031 #3171B0
square
#B031B0 #B07131 #31B031 #3171B0
split-complementary
#B031B0 #71B031 #31B071
monochromatic
#501650 #802480 #B031B0 #CE50CE #DC80DC

Accessibility & contrast

On white

5.37
#B031B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B031B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B031B0
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B031B0#FFFFFF#000000##FFFFFF
##B031B01.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1960B3
Deuteranopia (green-blind)
#5370AD
Tritanopia (blue-blind)
#B6446E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b031b0;
/* rgb */ color: rgb(176, 49, 176);
/* oklch */ color: oklch(55.4% 0.214 328.0);
Tailwind
colors: {
  custom: {
    50: '#cb76c8',
    500: '#b031b0',
    950: '#000000',
  },
}
SCSS
$custom: #b031b0;
$custom-light: #cb76c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b031b0",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 300,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55425,
    "c": 0.21374,
    "h": 328
  },
  "luminance": 0.14561
}

Semantic roles & 50–950 ramp

primary
#B031B0
secondary
#78C578
accent
#E04848
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #B031B0

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

Preview Lab → · Contrast checker → · Palette generator →

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