#B836AB#B836AB

#B836AB is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.8% C 0.208 H 332.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B836AB
RGBrgb(184, 54, 171)
HSLhsl(306, 55%, 47%)
HSVhsv(306, 71%, 72%)
CMYKcmyk(0%, 70.7%, 7.1%, 27.8%)
CIE-LABlab(46.67, 64.27, -35.26)
CIE-LCHlch(46.67, 73.31, 331.25°)
OKLaboklab(56.77% 0.1846 -0.0968)
OKLCHoklch(56.77% 0.208 332.3)
XYZxyz(28.4371, 15.7713, 40.0666)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B836AB #36B843
analogous
#8436B8 #B836AB #B8366A
triadic
#B836AB #ABB836 #36ABB8
tetradic
#B836AB #B88436 #36B843 #366AB8
square
#B836AB #B88436 #36B843 #366AB8
split-complementary
#B836AB #6AB836 #36B884
monochromatic
#591A53 #89287F #B836AB #CF5CC4 #DD8BD5

Accessibility & contrast

On white

5.06
#B836AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B836AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B836AB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B836AB#FFFFFF#000000##FFFFFF
##B836AB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AE
Deuteranopia (green-blind)
#5F75A8
Tritanopia (blue-blind)
#C0436D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b836ab;
/* rgb */ color: rgb(184, 54, 171);
/* oklch */ color: oklch(56.8% 0.208 332.3);
Tailwind
colors: {
  custom: {
    50: '#d179c4',
    500: '#b836ab',
    950: '#000000',
  },
}
SCSS
$custom: #b836ab;
$custom-light: #d179c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b836ab",
  "rgb": {
    "r": 184,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 306,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56772,
    "c": 0.20846,
    "h": 332.3
  },
  "luminance": 0.15769
}

Semantic roles & 50–950 ramp

primary
#B836AB
secondary
#82C789
accent
#DE594A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B836AB

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

Preview Lab → · Contrast checker → · Palette generator →

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