#B837A3#B837A3

#B837A3 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.5% C 0.201 H 335.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B837A3
RGBrgb(184, 55, 163)
HSLhsl(310, 54%, 47%)
HSVhsv(310, 70%, 72%)
CMYKcmyk(0%, 70.1%, 11.4%, 27.8%)
CIE-LABlab(46.40, 62.69, -30.94)
CIE-LCHlch(46.40, 69.91, 333.73°)
OKLaboklab(56.45% 0.1829 -0.0844)
OKLCHoklch(56.45% 0.201 335.2)
XYZxyz(27.7445, 15.5695, 36.1872)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837A3 #37B84C
analogous
#8C37B8 #B837A3 #B83763
triadic
#B837A3 #A3B837 #37A3B8
tetradic
#B837A3 #B88C37 #37B84C #3763B8
square
#B837A3 #B88C37 #37B84C #3763B8
split-complementary
#B837A3 #63B837 #37B88C
monochromatic
#5A1B50 #892979 #B837A3 #CF5DBC #DD8DD0

Accessibility & contrast

On white

5.11
#B837A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B837A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B837A3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837A3#FFFFFF#000000##FFFFFF
##B837A31.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3762A6
Deuteranopia (green-blind)
#6375A0
Tritanopia (blue-blind)
#C14069
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b837a3;
/* rgb */ color: rgb(184, 55, 163);
/* oklch */ color: oklch(56.5% 0.201 335.2);
Tailwind
colors: {
  custom: {
    50: '#d179be',
    500: '#b837a3',
    950: '#000000',
  },
}
SCSS
$custom: #b837a3;
$custom-light: #d179be;
$custom-dark: #000000;
JSON
{
  "hex": "#b837a3",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 163
  },
  "hsl": {
    "h": 309.767,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5645,
    "c": 0.20145,
    "h": 335.2
  },
  "luminance": 0.15567
}

Semantic roles & 50–950 ramp

primary
#B837A3
secondary
#84C78F
accent
#DD624A
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B837A3

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

Preview Lab → · Contrast checker → · Palette generator →

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