#B837AE#B837AE

#B837AE is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.0% C 0.210 H 331.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B837AE
RGBrgb(184, 55, 174)
HSLhsl(305, 54%, 47%)
HSVhsv(305, 70%, 72%)
CMYKcmyk(0%, 70.1%, 5.4%, 27.8%)
CIE-LABlab(46.95, 64.39, -36.60)
CIE-LCHlch(46.95, 74.07, 330.39°)
OKLaboklab(57.02% 0.1838 -0.1007)
OKLCHoklch(57.02% 0.21 331.3)
XYZxyz(28.7733, 15.9810, 41.6054)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837AE #37B841
analogous
#8237B8 #B837AE #B8376E
triadic
#B837AE #AEB837 #37AEB8
tetradic
#B837AE #B88237 #37B841 #376EB8
square
#B837AE #B88237 #37B841 #376EB8
split-complementary
#B837AE #6EB837 #37B882
monochromatic
#5A1B55 #892981 #B837AE #CF5DC6 #DD8DD7

Accessibility & contrast

On white

5.01
#B837AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B837AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B837AE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837AE#FFFFFF#000000##FFFFFF
##B837AE1.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B1
Deuteranopia (green-blind)
#5E76AB
Tritanopia (blue-blind)
#BF466E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b837ae;
/* rgb */ color: rgb(184, 55, 174);
/* oklch */ color: oklch(57.0% 0.210 331.3);
Tailwind
colors: {
  custom: {
    50: '#d179c6',
    500: '#b837ae',
    950: '#000000',
  },
}
SCSS
$custom: #b837ae;
$custom-light: #d179c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b837ae",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 304.651,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57021,
    "c": 0.20955,
    "h": 331.3
  },
  "luminance": 0.15979
}

Semantic roles & 50–950 ramp

primary
#B837AE
secondary
#84C789
accent
#DD564A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B837AE

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

Preview Lab → · Contrast checker → · Palette generator →

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