#B834A6#B834A6

#B834A6 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.3% C 0.207 H 334.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B834A6
RGBrgb(184, 52, 166)
HSLhsl(308, 56%, 46%)
HSVhsv(308, 72%, 72%)
CMYKcmyk(0%, 71.7%, 9.8%, 27.8%)
CIE-LABlab(46.18, 64.19, -33.08)
CIE-LCHlch(46.18, 72.21, 332.74°)
OKLaboklab(56.34% 0.1863 -0.0905)
OKLCHoklch(56.34% 0.207 334.1)
XYZxyz(27.8783, 15.4019, 37.5736)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B834A6 #34B846
analogous
#8834B8 #B834A6 #B83464
triadic
#B834A6 #A6B834 #34A6B8
tetradic
#B834A6 #B88834 #34B846 #3464B8
square
#B834A6 #B88834 #34B846 #3464B8
split-complementary
#B834A6 #64B834 #34B888
monochromatic
#591950 #88277B #B834A6 #D059C0 #DE89D2

Accessibility & contrast

On white

5.15
#B834A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B834A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B834A6
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B834A6#FFFFFF#000000##FFFFFF
##B834A61.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3161A9
Deuteranopia (green-blind)
#6174A3
Tritanopia (blue-blind)
#C14069
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b834a6;
/* rgb */ color: rgb(184, 52, 166);
/* oklch */ color: oklch(56.3% 0.207 334.1);
Tailwind
colors: {
  custom: {
    50: '#d178c1',
    500: '#b834a6',
    950: '#000000',
  },
}
SCSS
$custom: #b834a6;
$custom-light: #d178c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b834a6",
  "rgb": {
    "r": 184,
    "g": 52,
    "b": 166
  },
  "hsl": {
    "h": 308.182,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56336,
    "c": 0.2071,
    "h": 334.1
  },
  "luminance": 0.154
}

Semantic roles & 50–950 ramp

primary
#B834A6
secondary
#80C88A
accent
#DF5D49
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B834A6

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

Preview Lab → · Contrast checker → · Palette generator →

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