#B834BC#B834BC

#B834BC is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.5% C 0.224 H 326.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B834BC
RGBrgb(184, 52, 188)
HSLhsl(298, 57%, 47%)
HSVhsv(298, 72%, 74%)
CMYKcmyk(2.1%, 72.3%, 0%, 26.3%)
CIE-LABlab(47.34, 67.69, -44.19)
CIE-LCHlch(47.34, 80.84, 326.86°)
OKLaboklab(57.54% 0.187 -0.1227)
OKLCHoklch(57.54% 0.224 326.7)
XYZxyz(30.0717, 16.2792, 49.1255)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B834BC #38BC34
analogous
#7434BC #B834BC #BC347C
triadic
#B834BC #BCB834 #34BCB8
tetradic
#B834BC #BC7434 #38BC34 #347CBC
square
#B834BC #BC7434 #38BC34 #347CBC
split-complementary
#B834BC #7CBC34 #34BC74
monochromatic
#5A195C #89278C #B834BC #CE5BD2 #DD8BDF

Accessibility & contrast

On white

4.93
#B834BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B834BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B834BC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B834BC#FFFFFF#000000##FFFFFF
##B834BC1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1266C0
Deuteranopia (green-blind)
#5576B9
Tritanopia (blue-blind)
#BD4A75
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b834bc;
/* rgb */ color: rgb(184, 52, 188);
/* oklch */ color: oklch(57.5% 0.224 326.7);
Tailwind
colors: {
  custom: {
    50: '#d179d1',
    500: '#b834bc',
    950: '#000000',
  },
}
SCSS
$custom: #b834bc;
$custom-light: #d179d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b834bc",
  "rgb": {
    "r": 184,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 298.235,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57543,
    "c": 0.22363,
    "h": 326.7
  },
  "luminance": 0.16277
}

Semantic roles & 50–950 ramp

primary
#B834BC
secondary
#85C983
accent
#E0484C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B834BC

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

Preview Lab → · Contrast checker → · Palette generator →

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