#B834B5#B834B5

#B834B5 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.1% C 0.218 H 329.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B834B5
RGBrgb(184, 52, 181)
HSLhsl(301, 56%, 46%)
HSVhsv(301, 72%, 72%)
CMYKcmyk(0%, 71.7%, 1.6%, 27.8%)
CIE-LABlab(46.95, 66.54, -40.71)
CIE-LCHlch(46.95, 78.01, 328.55°)
OKLaboklab(57.14% 0.187 -0.1125)
OKLCHoklch(57.14% 0.218 329)
XYZxyz(29.3354, 15.9847, 45.2474)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B834B5 #34B837
analogous
#7934B8 #B834B5 #B83473
triadic
#B834B5 #B5B834 #34B5B8
tetradic
#B834B5 #B87934 #34B837 #3473B8
square
#B834B5 #B87934 #34B837 #3473B8
split-complementary
#B834B5 #73B834 #34B879
monochromatic
#591957 #882786 #B834B5 #D059CD #DE89DC

Accessibility & contrast

On white

5.00
#B834B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B834B5
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B834B5#FFFFFF#000000##FFFFFF
##B834B51.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2064B9
Deuteranopia (green-blind)
#5975B2
Tritanopia (blue-blind)
#BE4771
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b834b5;
/* rgb */ color: rgb(184, 52, 181);
/* oklch */ color: oklch(57.1% 0.218 329.0);
Tailwind
colors: {
  custom: {
    50: '#d178cc',
    500: '#b834b5',
    950: '#000000',
  },
}
SCSS
$custom: #b834b5;
$custom-light: #d178cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b834b5",
  "rgb": {
    "r": 184,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 301.364,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57144,
    "c": 0.21824,
    "h": 329
  },
  "luminance": 0.15983
}

Semantic roles & 50–950 ramp

primary
#B834B5
secondary
#80C882
accent
#DF4C49
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B834B5

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

Preview Lab → · Contrast checker → · Palette generator →

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