#B831BB#B831BB

#B831BB is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.2% C 0.226 H 327.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B831BB
RGBrgb(184, 49, 187)
HSLhsl(299, 58%, 46%)
HSVhsv(299, 74%, 73%)
CMYKcmyk(1.6%, 73.8%, 0%, 26.7%)
CIE-LABlab(46.94, 68.49, -44.23)
CIE-LCHlch(46.94, 81.54, 327.15°)
OKLaboklab(57.24% 0.1897 -0.1228)
OKLCHoklch(57.24% 0.226 327.1)
XYZxyz(29.8346, 15.9769, 48.5165)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B831BB #34BB31
analogous
#7331BB #B831BB #BB3179
triadic
#B831BB #BBB831 #31BBB8
tetradic
#B831BB #BB7331 #34BB31 #3179BB
square
#B831BB #BB7331 #34BB31 #3179BB
split-complementary
#B831BB #79BB31 #31BB73
monochromatic
#59185A #88248B #B831BB #D056D3 #DE87E0

Accessibility & contrast

On white

5.01
#B831BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B831BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B831BB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B831BB#FFFFFF#000000##FFFFFF
##B831BB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C64BF
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#BD4874
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b831bb;
/* rgb */ color: rgb(184, 49, 187);
/* oklch */ color: oklch(57.2% 0.226 327.1);
Tailwind
colors: {
  custom: {
    50: '#d177d0',
    500: '#b831bb',
    950: '#000000',
  },
}
SCSS
$custom: #b831bb;
$custom-light: #d177d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b831bb",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 298.696,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57243,
    "c": 0.22598,
    "h": 327.1
  },
  "luminance": 0.15975
}

Semantic roles & 50–950 ramp

primary
#B831BB
secondary
#80C97F
accent
#E24649
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #B831BB

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

Preview Lab → · Contrast checker → · Palette generator →

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