#B834B2#B834B2

#B834B2 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.216 H 329.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B834B2
RGBrgb(184, 52, 178)
HSLhsl(303, 56%, 46%)
HSVhsv(303, 72%, 72%)
CMYKcmyk(0%, 71.7%, 3.3%, 27.8%)
CIE-LABlab(46.79, 66.06, -39.20)
CIE-LCHlch(46.79, 76.82, 329.32°)
OKLaboklab(56.98% 0.1869 -0.1082)
OKLCHoklch(56.98% 0.216 329.9)
XYZxyz(29.0309, 15.8629, 43.6437)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B834B2 #34B83A
analogous
#7C34B8 #B834B2 #B83470
triadic
#B834B2 #B2B834 #34B2B8
tetradic
#B834B2 #B87C34 #34B83A #3470B8
square
#B834B2 #B87C34 #34B83A #3470B8
split-complementary
#B834B2 #70B834 #34B87C
monochromatic
#591956 #882784 #B834B2 #D059CB #DE89DA

Accessibility & contrast

On white

5.03
#B834B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B834B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B834B2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B834B2#FFFFFF#000000##FFFFFF
##B834B21.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2463B5
Deuteranopia (green-blind)
#5B75AF
Tritanopia (blue-blind)
#BF4570
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b834b2;
/* rgb */ color: rgb(184, 52, 178);
/* oklch */ color: oklch(57.0% 0.216 329.9);
Tailwind
colors: {
  custom: {
    50: '#d178c9',
    500: '#b834b2',
    950: '#000000',
  },
}
SCSS
$custom: #b834b2;
$custom-light: #d178c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b834b2",
  "rgb": {
    "r": 184,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 302.727,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56977,
    "c": 0.21596,
    "h": 329.9
  },
  "luminance": 0.15861
}

Semantic roles & 50–950 ramp

primary
#B834B2
secondary
#80C883
accent
#DF4F49
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B834B2

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

Preview Lab → · Contrast checker → · Palette generator →

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