#B031B6#B031B6

#B031B6 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.8% C 0.218 H 326.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B031B6
RGBrgb(176, 49, 182)
HSLhsl(297, 58%, 45%)
HSVhsv(297, 73%, 71%)
CMYKcmyk(3.3%, 73.1%, 0%, 28.6%)
CIE-LABlab(45.37, 65.97, -43.89)
CIE-LCHlch(45.37, 79.24, 326.36°)
OKLaboklab(55.78% 0.1812 -0.122)
OKLCHoklch(55.78% 0.218 326)
XYZxyz(27.4458, 14.8060, 45.6592)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B031B6 #37B631
analogous
#6D31B6 #B031B6 #B6317A
triadic
#B031B6 #B6B031 #31B6B0
tetradic
#B031B6 #B66D31 #37B631 #317AB6
square
#B031B6 #B66D31 #37B631 #317AB6
split-complementary
#B031B6 #7AB631 #31B66D
monochromatic
#531756 #812486 #B031B6 #CB53D1 #DA84DE

Accessibility & contrast

On white

5.30
#B031B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B031B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B031B6
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B031B6#FFFFFF#000000##FFFFFF
##B031B61.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0961BA
Deuteranopia (green-blind)
#5071B3
Tritanopia (blue-blind)
#B44771
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b031b6;
/* rgb */ color: rgb(176, 49, 182);
/* oklch */ color: oklch(55.8% 0.218 326.0);
Tailwind
colors: {
  custom: {
    50: '#cb76cc',
    500: '#b031b6',
    950: '#000000',
  },
}
SCSS
$custom: #b031b6;
$custom-light: #cb76cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b031b6",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 297.293,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55775,
    "c": 0.21842,
    "h": 326
  },
  "luminance": 0.14804
}

Semantic roles & 50–950 ramp

primary
#B031B6
secondary
#7FC77C
accent
#E1474E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B031B6

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

Preview Lab → · Contrast checker → · Palette generator →

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