#B834B8#B834B8

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

Color values

HEX#B834B8
RGBrgb(184, 52, 184)
HSLhsl(300, 56%, 46%)
HSVhsv(300, 72%, 72%)
CMYKcmyk(0%, 71.7%, 0%, 27.8%)
CIE-LABlab(47.12, 67.03, -42.20)
CIE-LCHlch(47.12, 79.21, 327.80°)
OKLaboklab(57.31% 0.187 -0.1169)
OKLCHoklch(57.31% 0.221 328)
XYZxyz(29.6465, 16.1092, 46.8860)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B834B8 #34B834
analogous
#7634B8 #B834B8 #B83476
triadic
#B834B8 #B8B834 #34B8B8
tetradic
#B834B8 #B87634 #34B834 #3476B8
square
#B834B8 #B87634 #34B834 #3476B8
split-complementary
#B834B8 #76B834 #34B876
monochromatic
#591959 #882788 #B834B8 #D059D0 #DE89DE

Accessibility & contrast

On white

4.97
#B834B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B834B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B834B8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B834B8#FFFFFF#000000##FFFFFF
##B834B81.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B65BC
Deuteranopia (green-blind)
#5776B5
Tritanopia (blue-blind)
#BE4873
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b834b8;
/* rgb */ color: rgb(184, 52, 184);
/* oklch */ color: oklch(57.3% 0.221 328.0);
Tailwind
colors: {
  custom: {
    50: '#d179ce',
    500: '#b834b8',
    950: '#000000',
  },
}
SCSS
$custom: #b834b8;
$custom-light: #d179ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b834b8",
  "rgb": {
    "r": 184,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 300,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57313,
    "c": 0.22053,
    "h": 328
  },
  "luminance": 0.16107
}

Semantic roles & 50–950 ramp

primary
#B834B8
secondary
#80C880
accent
#DF4949
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B834B8

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

Preview Lab → · Contrast checker → · Palette generator →

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