#B831BE#B831BE

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

Color values

HEX#B831BE
RGBrgb(184, 49, 190)
HSLhsl(297, 59%, 47%)
HSVhsv(297, 74%, 75%)
CMYKcmyk(3.2%, 74.2%, 0%, 25.5%)
CIE-LABlab(47.11, 68.99, -45.71)
CIE-LCHlch(47.11, 82.76, 326.47°)
OKLaboklab(57.42% 0.1896 -0.1271)
OKLCHoklch(57.42% 0.228 326.2)
XYZxyz(30.1592, 16.1067, 50.2256)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B831BE #37BE31
analogous
#7231BE #B831BE #BE317E
triadic
#B831BE #BEB831 #31BEB8
tetradic
#B831BE #BE7231 #37BE31 #317EBE
square
#B831BE #BE7231 #37BE31 #317EBE
split-complementary
#B831BE #7EBE31 #31BE72
monochromatic
#5A185D #89248D #B831BE #CF58D4 #DD89E1

Accessibility & contrast

On white

4.98
#B831BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B831BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B831BE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B831BE#FFFFFF#000000##FFFFFF
##B831BE1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#5275BB
Tritanopia (blue-blind)
#BD4976
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b831be;
/* rgb */ color: rgb(184, 49, 190);
/* oklch */ color: oklch(57.4% 0.228 326.2);
Tailwind
colors: {
  custom: {
    50: '#d177d2',
    500: '#b831be',
    950: '#000000',
  },
}
SCSS
$custom: #b831be;
$custom-light: #d177d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b831be",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 297.447,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57419,
    "c": 0.22828,
    "h": 326.2
  },
  "luminance": 0.16105
}

Semantic roles & 50–950 ramp

primary
#B831BE
secondary
#84CA80
accent
#E2464C
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #B831BE

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

Preview Lab → · Contrast checker → · Palette generator →

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