#B834AB#B834AB

#B834AB is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.6% C 0.211 H 332.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B834AB
RGBrgb(184, 52, 171)
HSLhsl(306, 56%, 46%)
HSVhsv(306, 72%, 72%)
CMYKcmyk(0%, 71.7%, 7.1%, 27.8%)
CIE-LABlab(46.43, 64.96, -35.64)
CIE-LCHlch(46.43, 74.10, 331.25°)
OKLaboklab(56.6% 0.1866 -0.0979)
OKLCHoklch(56.6% 0.211 332.3)
XYZxyz(28.3459, 15.5889, 40.0362)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B834AB #34B841
analogous
#8334B8 #B834AB #B83469
triadic
#B834AB #ABB834 #34ABB8
tetradic
#B834AB #B88334 #34B841 #3469B8
square
#B834AB #B88334 #34B841 #3469B8
split-complementary
#B834AB #69B834 #34B883
monochromatic
#591952 #88277F #B834AB #D059C4 #DE89D5

Accessibility & contrast

On white

5.10
#B834AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B834AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B834AB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B834AB#FFFFFF#000000##FFFFFF
##B834AB1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C62AE
Deuteranopia (green-blind)
#5E75A8
Tritanopia (blue-blind)
#C0426C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b834ab;
/* rgb */ color: rgb(184, 52, 171);
/* oklch */ color: oklch(56.6% 0.211 332.3);
Tailwind
colors: {
  custom: {
    50: '#d178c4',
    500: '#b834ab',
    950: '#000000',
  },
}
SCSS
$custom: #b834ab;
$custom-light: #d178c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b834ab",
  "rgb": {
    "r": 184,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 305.909,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56598,
    "c": 0.21074,
    "h": 332.3
  },
  "luminance": 0.15587
}

Semantic roles & 50–950 ramp

primary
#B834AB
secondary
#80C887
accent
#DF5749
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B834AB

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

Preview Lab → · Contrast checker → · Palette generator →

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