#B831BD#B831BD

#B831BD is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.228 H 326.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B831BD
RGBrgb(184, 49, 189)
HSLhsl(298, 59%, 47%)
HSVhsv(298, 74%, 74%)
CMYKcmyk(2.6%, 74.1%, 0%, 25.9%)
CIE-LABlab(47.06, 68.82, -45.22)
CIE-LCHlch(47.06, 82.35, 326.69°)
OKLaboklab(57.36% 0.1897 -0.1257)
OKLCHoklch(57.36% 0.228 326.5)
XYZxyz(30.0502, 16.0632, 49.6520)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B831BD #36BD31
analogous
#7231BD #B831BD #BD317C
triadic
#B831BD #BDB831 #31BDB8
tetradic
#B831BD #BD7231 #36BD31 #317CBD
square
#B831BD #BD7231 #36BD31 #317CBD
split-complementary
#B831BD #7CBD31 #31BD72
monochromatic
#59185C #89248C #B831BD #CF58D4 #DD88E0

Accessibility & contrast

On white

4.99
#B831BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B831BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B831BD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B831BD#FFFFFF#000000##FFFFFF
##B831BD1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0465C1
Deuteranopia (green-blind)
#5375BA
Tritanopia (blue-blind)
#BD4975
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b831bd;
/* rgb */ color: rgb(184, 49, 189);
/* oklch */ color: oklch(57.4% 0.228 326.5);
Tailwind
colors: {
  custom: {
    50: '#d177d1',
    500: '#b831bd',
    950: '#000000',
  },
}
SCSS
$custom: #b831bd;
$custom-light: #d177d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b831bd",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 297.857,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5736,
    "c": 0.22751,
    "h": 326.5
  },
  "luminance": 0.16061
}

Semantic roles & 50–950 ramp

primary
#B831BD
secondary
#82CA80
accent
#E2464B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #B831BD

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

Preview Lab → · Contrast checker → · Palette generator →

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