#B834BB#B834BB

#B834BB is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.5% C 0.223 H 327.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B834BB
RGBrgb(184, 52, 187)
HSLhsl(299, 56%, 47%)
HSVhsv(299, 72%, 73%)
CMYKcmyk(1.6%, 72.2%, 0%, 26.7%)
CIE-LABlab(47.28, 67.53, -43.70)
CIE-LCHlch(47.28, 80.43, 327.09°)
OKLaboklab(57.49% 0.187 -0.1212)
OKLCHoklch(57.49% 0.223 327)
XYZxyz(29.9643, 16.2363, 48.5598)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B834BB #37BB34
analogous
#7534BB #B834BB #BB347A
triadic
#B834BB #BBB834 #34BBB8
tetradic
#B834BB #BB7534 #37BB34 #347ABB
square
#B834BB #BB7534 #37BB34 #347ABB
split-complementary
#B834BB #7ABB34 #34BB75
monochromatic
#5A195B #89278B #B834BB #CF5BD1 #DD8BDF

Accessibility & contrast

On white

4.94
#B834BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#B834BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B834BB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B834BB#FFFFFF#000000##FFFFFF
##B834BB1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1565BF
Deuteranopia (green-blind)
#5676B8
Tritanopia (blue-blind)
#BD4A75
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b834bb;
/* rgb */ color: rgb(184, 52, 187);
/* oklch */ color: oklch(57.5% 0.223 327.0);
Tailwind
colors: {
  custom: {
    50: '#d179d0',
    500: '#b834bb',
    950: '#000000',
  },
}
SCSS
$custom: #b834bb;
$custom-light: #d179d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b834bb",
  "rgb": {
    "r": 184,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 298.667,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57485,
    "c": 0.22286,
    "h": 327
  },
  "luminance": 0.16234
}

Semantic roles & 50–950 ramp

primary
#B834BB
secondary
#84C982
accent
#E0484B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B834BB

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

Preview Lab → · Contrast checker → · Palette generator →

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