#B837AA#B837AA

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

Color values

HEX#B837AA
RGBrgb(184, 55, 170)
HSLhsl(307, 54%, 47%)
HSVhsv(307, 70%, 72%)
CMYKcmyk(0%, 70.1%, 7.6%, 27.8%)
CIE-LABlab(46.75, 63.77, -34.55)
CIE-LCHlch(46.75, 72.53, 331.55°)
OKLaboklab(56.81% 0.1835 -0.0948)
OKLCHoklch(56.81% 0.207 332.7)
XYZxyz(28.3892, 15.8273, 39.5822)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837AA #37B845
analogous
#8637B8 #B837AA #B83769
triadic
#B837AA #AAB837 #37AAB8
tetradic
#B837AA #B88637 #37B845 #3769B8
square
#B837AA #B88637 #37B845 #3769B8
split-complementary
#B837AA #69B837 #37B886
monochromatic
#5A1B53 #89297E #B837AA #CF5DC2 #DD8DD4

Accessibility & contrast

On white

5.04
#B837AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B837AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B837AA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837AA#FFFFFF#000000##FFFFFF
##B837AA1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3163AD
Deuteranopia (green-blind)
#6075A7
Tritanopia (blue-blind)
#C0446C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b837aa;
/* rgb */ color: rgb(184, 55, 170);
/* oklch */ color: oklch(56.8% 0.207 332.7);
Tailwind
colors: {
  custom: {
    50: '#d179c3',
    500: '#b837aa',
    950: '#000000',
  },
}
SCSS
$custom: #b837aa;
$custom-light: #d179c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b837aa",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 170
  },
  "hsl": {
    "h": 306.512,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56809,
    "c": 0.20656,
    "h": 332.7
  },
  "luminance": 0.15825
}

Semantic roles & 50–950 ramp

primary
#B837AA
secondary
#84C78B
accent
#DD5A4A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B837AA

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

Preview Lab → · Contrast checker → · Palette generator →

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