#B834AC#B834AC

#B834AC is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.7% C 0.211 H 332.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B834AC
RGBrgb(184, 52, 172)
HSLhsl(305, 56%, 46%)
HSVhsv(305, 72%, 72%)
CMYKcmyk(0%, 71.7%, 6.5%, 27.8%)
CIE-LABlab(46.48, 65.12, -36.15)
CIE-LCHlch(46.48, 74.48, 330.96°)
OKLaboklab(56.65% 0.1867 -0.0994)
OKLCHoklch(56.65% 0.211 332)
XYZxyz(28.4416, 15.6272, 40.5401)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B834AC #34B840
analogous
#8234B8 #B834AC #B8346A
triadic
#B834AC #ACB834 #34ACB8
tetradic
#B834AC #B88234 #34B840 #346AB8
square
#B834AC #B88234 #34B840 #346AB8
split-complementary
#B834AC #6AB834 #34B882
monochromatic
#591953 #88277F #B834AC #D059C5 #DE89D6

Accessibility & contrast

On white

5.09
#B834AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B834AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B834AC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B834AC#FFFFFF#000000##FFFFFF
##B834AC1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B62AF
Deuteranopia (green-blind)
#5E75A9
Tritanopia (blue-blind)
#C0426C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b834ac;
/* rgb */ color: rgb(184, 52, 172);
/* oklch */ color: oklch(56.7% 0.211 332.0);
Tailwind
colors: {
  custom: {
    50: '#d178c5',
    500: '#b834ac',
    950: '#000000',
  },
}
SCSS
$custom: #b834ac;
$custom-light: #d178c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b834ac",
  "rgb": {
    "r": 184,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 305.455,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56651,
    "c": 0.21148,
    "h": 332
  },
  "luminance": 0.15625
}

Semantic roles & 50–950 ramp

primary
#B834AC
secondary
#80C887
accent
#DF5649
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B834AC

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

Preview Lab → · Contrast checker → · Palette generator →

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