#B834B1#B834B1

#B834B1 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.9% C 0.215 H 330.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B834B1
RGBrgb(184, 52, 177)
HSLhsl(303, 56%, 46%)
HSVhsv(303, 72%, 72%)
CMYKcmyk(0%, 71.7%, 3.8%, 27.8%)
CIE-LABlab(46.74, 65.90, -38.69)
CIE-LCHlch(46.74, 76.42, 329.58°)
OKLaboklab(56.92% 0.1869 -0.1067)
OKLCHoklch(56.92% 0.215 330.3)
XYZxyz(28.9308, 15.8229, 43.1168)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B834B1 #34B83B
analogous
#7D34B8 #B834B1 #B8346F
triadic
#B834B1 #B1B834 #34B1B8
tetradic
#B834B1 #B87D34 #34B83B #346FB8
square
#B834B1 #B87D34 #34B83B #346FB8
split-complementary
#B834B1 #6FB834 #34B87D
monochromatic
#591955 #882783 #B834B1 #D059CA #DE89D9

Accessibility & contrast

On white

5.04
#B834B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B834B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B834B1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B834B1#FFFFFF#000000##FFFFFF
##B834B11.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2663B4
Deuteranopia (green-blind)
#5B75AE
Tritanopia (blue-blind)
#BF456F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b834b1;
/* rgb */ color: rgb(184, 52, 177);
/* oklch */ color: oklch(56.9% 0.215 330.3);
Tailwind
colors: {
  custom: {
    50: '#d178c9',
    500: '#b834b1',
    950: '#000000',
  },
}
SCSS
$custom: #b834b1;
$custom-light: #d178c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b834b1",
  "rgb": {
    "r": 184,
    "g": 52,
    "b": 177
  },
  "hsl": {
    "h": 303.182,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56922,
    "c": 0.21521,
    "h": 330.3
  },
  "luminance": 0.15821
}

Semantic roles & 50–950 ramp

primary
#B834B1
secondary
#80C884
accent
#DF5149
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B834B1

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

Preview Lab → · Contrast checker → · Palette generator →

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