#B831AE#B831AE

#B831AE is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.216 H 331.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B831AE
RGBrgb(184, 49, 174)
HSLhsl(304, 58%, 46%)
HSVhsv(304, 73%, 72%)
CMYKcmyk(0%, 73.4%, 5.4%, 27.8%)
CIE-LABlab(46.24, 66.41, -37.72)
CIE-LCHlch(46.24, 76.38, 330.41°)
OKLaboklab(56.51% 0.1896 -0.1039)
OKLCHoklch(56.51% 0.216 331.3)
XYZxyz(28.5054, 15.4453, 41.5161)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B831AE #31B83B
analogous
#7E31B8 #B831AE #B8316B
triadic
#B831AE #AEB831 #31AEB8
tetradic
#B831AE #B87E31 #31B83B #316BB8
square
#B831AE #B87E31 #31B83B #316BB8
split-complementary
#B831AE #6BB831 #31B87E
monochromatic
#571753 #882480 #B831AE #D255C8 #DE85D8

Accessibility & contrast

On white

5.14
#B831AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B831AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B831AE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B831AE#FFFFFF#000000##FFFFFF
##B831AE1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2562B1
Deuteranopia (green-blind)
#5C74AB
Tritanopia (blue-blind)
#BF416D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b831ae;
/* rgb */ color: rgb(184, 49, 174);
/* oklch */ color: oklch(56.5% 0.216 331.3);
Tailwind
colors: {
  custom: {
    50: '#d177c6',
    500: '#b831ae',
    950: '#000000',
  },
}
SCSS
$custom: #b831ae;
$custom-light: #d177c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b831ae",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 304.444,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5651,
    "c": 0.21621,
    "h": 331.3
  },
  "luminance": 0.15443
}

Semantic roles & 50–950 ramp

primary
#B831AE
secondary
#7DC882
accent
#E15247
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #B831AE

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

Preview Lab → · Contrast checker → · Palette generator →

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