#B831AA#B831AA

#B831AA is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.3% C 0.213 H 332.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B831AA
RGBrgb(184, 49, 170)
HSLhsl(306, 58%, 46%)
HSVhsv(306, 73%, 72%)
CMYKcmyk(0%, 73.4%, 7.6%, 27.8%)
CIE-LABlab(46.03, 65.80, -35.68)
CIE-LCHlch(46.03, 74.85, 331.53°)
OKLaboklab(56.29% 0.1894 -0.098)
OKLCHoklch(56.29% 0.213 332.6)
XYZxyz(28.1213, 15.2916, 39.4929)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B831AA #31B83F
analogous
#8231B8 #B831AA #B83166
triadic
#B831AA #AAB831 #31AAB8
tetradic
#B831AA #B88231 #31B83F #3166B8
square
#B831AA #B88231 #31B83F #3166B8
split-complementary
#B831AA #66B831 #31B882
monochromatic
#571751 #88247D #B831AA #D255C5 #DE85D5

Accessibility & contrast

On white

5.18
#B831AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B831AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B831AA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B831AA#FFFFFF#000000##FFFFFF
##B831AA1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A61AD
Deuteranopia (green-blind)
#5E74A7
Tritanopia (blue-blind)
#C03F6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b831aa;
/* rgb */ color: rgb(184, 49, 170);
/* oklch */ color: oklch(56.3% 0.213 332.6);
Tailwind
colors: {
  custom: {
    50: '#d177c4',
    500: '#b831aa',
    950: '#000000',
  },
}
SCSS
$custom: #b831aa;
$custom-light: #d177c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b831aa",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 306.222,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56294,
    "c": 0.21329,
    "h": 332.6
  },
  "luminance": 0.15289
}

Semantic roles & 50–950 ramp

primary
#B831AA
secondary
#7DC885
accent
#E15747
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #B831AA

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

Preview Lab → · Contrast checker → · Palette generator →

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