#B834B6#B834B6

#B834B6 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.2% C 0.219 H 328.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B834B6
RGBrgb(184, 52, 182)
HSLhsl(301, 56%, 46%)
HSVhsv(301, 72%, 72%)
CMYKcmyk(0%, 71.7%, 1.1%, 27.8%)
CIE-LABlab(47.01, 66.71, -41.21)
CIE-LCHlch(47.01, 78.41, 328.30°)
OKLaboklab(57.2% 0.187 -0.114)
OKLCHoklch(57.2% 0.219 328.6)
XYZxyz(29.4384, 16.0259, 45.7897)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B834B6 #34B836
analogous
#7834B8 #B834B6 #B83474
triadic
#B834B6 #B6B834 #34B6B8
tetradic
#B834B6 #B87834 #34B836 #3474B8
square
#B834B6 #B87834 #34B836 #3474B8
split-complementary
#B834B6 #74B834 #34B878
monochromatic
#591958 #882787 #B834B6 #D059CE #DE89DC

Accessibility & contrast

On white

4.99
#B834B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B834B6
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B834B6#FFFFFF#000000##FFFFFF
##B834B61.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E64BA
Deuteranopia (green-blind)
#5976B3
Tritanopia (blue-blind)
#BE4772
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b834b6;
/* rgb */ color: rgb(184, 52, 182);
/* oklch */ color: oklch(57.2% 0.219 328.6);
Tailwind
colors: {
  custom: {
    50: '#d178cc',
    500: '#b834b6',
    950: '#000000',
  },
}
SCSS
$custom: #b834b6;
$custom-light: #d178cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b834b6",
  "rgb": {
    "r": 184,
    "g": 52,
    "b": 182
  },
  "hsl": {
    "h": 300.909,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.572,
    "c": 0.21901,
    "h": 328.6
  },
  "luminance": 0.16024
}

Semantic roles & 50–950 ramp

primary
#B834B6
secondary
#80C881
accent
#DF4B49
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B834B6

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

Preview Lab → · Contrast checker → · Palette generator →

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