#B031B9#B031B9

#B031B9 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.0% C 0.221 H 325.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B031B9
RGBrgb(176, 49, 185)
HSLhsl(296, 58%, 46%)
HSVhsv(296, 74%, 73%)
CMYKcmyk(4.9%, 73.5%, 0%, 27.5%)
CIE-LABlab(45.54, 66.48, -45.38)
CIE-LCHlch(45.54, 80.49, 325.68°)
OKLaboklab(55.95% 0.1811 -0.1263)
OKLCHoklch(55.95% 0.221 325.1)
XYZxyz(27.7591, 14.9313, 47.3095)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B031B9 #3AB931
analogous
#6C31B9 #B031B9 #B9317E
triadic
#B031B9 #B9B031 #31B9B0
tetradic
#B031B9 #B96C31 #3AB931 #317EB9
square
#B031B9 #B96C31 #3AB931 #317EB9
split-complementary
#B031B9 #7EB931 #31B96C
monochromatic
#541758 #822489 #B031B9 #CA55D2 #D986DF

Accessibility & contrast

On white

5.27
#B031B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B031B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B031B9
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B031B9#FFFFFF#000000##FFFFFF
##B031B91.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BD
Deuteranopia (green-blind)
#4E71B6
Tritanopia (blue-blind)
#B44973
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b031b9;
/* rgb */ color: rgb(176, 49, 185);
/* oklch */ color: oklch(56.0% 0.221 325.1);
Tailwind
colors: {
  custom: {
    50: '#cb76ce',
    500: '#b031b9',
    950: '#000000',
  },
}
SCSS
$custom: #b031b9;
$custom-light: #cb76ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b031b9",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 296.029,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55954,
    "c": 0.22079,
    "h": 325.1
  },
  "luminance": 0.1493
}

Semantic roles & 50–950 ramp

primary
#B031B9
secondary
#82C87D
accent
#E14651
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B031B9

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

Preview Lab → · Contrast checker → · Palette generator →

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