#B834B7#B834B7

#B834B7 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.3% C 0.220 H 328.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B834B7
RGBrgb(184, 52, 183)
HSLhsl(300, 56%, 46%)
HSVhsv(300, 72%, 72%)
CMYKcmyk(0%, 71.7%, 0.5%, 27.8%)
CIE-LABlab(47.06, 66.87, -41.71)
CIE-LCHlch(47.06, 78.81, 328.05°)
OKLaboklab(57.26% 0.187 -0.1155)
OKLCHoklch(57.26% 0.22 328.3)
XYZxyz(29.5421, 16.0674, 46.3359)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B834B7 #34B835
analogous
#7734B8 #B834B7 #B83475
triadic
#B834B7 #B7B834 #34B7B8
tetradic
#B834B7 #B87734 #34B835 #3475B8
square
#B834B7 #B87734 #34B835 #3475B8
split-complementary
#B834B7 #75B834 #34B877
monochromatic
#591958 #882788 #B834B7 #D059CF #DE89DD

Accessibility & contrast

On white

4.98
#B834B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B834B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B834B7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B834B7#FFFFFF#000000##FFFFFF
##B834B71.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D65BB
Deuteranopia (green-blind)
#5876B4
Tritanopia (blue-blind)
#BE4873
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b834b7;
/* rgb */ color: rgb(184, 52, 183);
/* oklch */ color: oklch(57.3% 0.220 328.3);
Tailwind
colors: {
  custom: {
    50: '#d178cd',
    500: '#b834b7',
    950: '#000000',
  },
}
SCSS
$custom: #b834b7;
$custom-light: #d178cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b834b7",
  "rgb": {
    "r": 184,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 300.455,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57256,
    "c": 0.21977,
    "h": 328.3
  },
  "luminance": 0.16065
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B834B7

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

Preview Lab → · Contrast checker → · Palette generator →

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