#B031B1#B031B1

#B031B1 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.215 H 327.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B031B1
RGBrgb(176, 49, 177)
HSLhsl(300, 57%, 44%)
HSVhsv(300, 72%, 69%)
CMYKcmyk(0.6%, 72.3%, 0%, 30.6%)
CIE-LABlab(45.09, 65.13, -41.40)
CIE-LCHlch(45.09, 77.18, 327.56°)
OKLaboklab(55.48% 0.1813 -0.1147)
OKLCHoklch(55.48% 0.215 327.7)
XYZxyz(26.9382, 14.6030, 42.9863)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B031B1 #32B131
analogous
#7031B1 #B031B1 #B13172
triadic
#B031B1 #B1B031 #31B1B0
tetradic
#B031B1 #B17031 #32B131 #3172B1
square
#B031B1 #B17031 #32B131 #3172B1
split-complementary
#B031B1 #72B131 #31B170
monochromatic
#511651 #802481 #B031B1 #CE51CF #DB80DC

Accessibility & contrast

On white

5.36
#B031B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B031B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B031B1
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B031B1#FFFFFF#000000##FFFFFF
##B031B11.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1760B5
Deuteranopia (green-blind)
#5370AE
Tritanopia (blue-blind)
#B5456E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b031b1;
/* rgb */ color: rgb(176, 49, 177);
/* oklch */ color: oklch(55.5% 0.215 327.7);
Tailwind
colors: {
  custom: {
    50: '#cb76c9',
    500: '#b031b1',
    950: '#000000',
  },
}
SCSS
$custom: #b031b1;
$custom-light: #cb76c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b031b1",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 177
  },
  "hsl": {
    "h": 299.531,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55483,
    "c": 0.21452,
    "h": 327.7
  },
  "luminance": 0.14601
}

Semantic roles & 50–950 ramp

primary
#B031B1
secondary
#79C579
accent
#E04849
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #B031B1

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

Preview Lab → · Contrast checker → · Palette generator →

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