#B832A2#B832A2

#B832A2 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.206 H 335.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B832A2
RGBrgb(184, 50, 162)
HSLhsl(310, 57%, 46%)
HSVhsv(310, 73%, 72%)
CMYKcmyk(0%, 72.8%, 12%, 27.8%)
CIE-LABlab(45.75, 64.27, -31.38)
CIE-LCHlch(45.75, 71.52, 333.98°)
OKLaboklab(55.96% 0.1879 -0.0856)
OKLCHoklch(55.96% 0.206 335.5)
XYZxyz(27.4297, 15.0826, 35.6420)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B832A2 #32B848
analogous
#8B32B8 #B832A2 #B8325F
triadic
#B832A2 #A2B832 #32A2B8
tetradic
#B832A2 #B88B32 #32B848 #325FB8
square
#B832A2 #B88B32 #32B848 #325FB8
split-complementary
#B832A2 #5FB832 #32B88B
monochromatic
#58184D #882578 #B832A2 #D156BD #DE86D0

Accessibility & contrast

On white

5.23
#B832A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B832A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B832A2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B832A2#FFFFFF#000000##FFFFFF
##B832A21.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A5
Deuteranopia (green-blind)
#62739F
Tritanopia (blue-blind)
#C13C66
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b832a2;
/* rgb */ color: rgb(184, 50, 162);
/* oklch */ color: oklch(56.0% 0.206 335.5);
Tailwind
colors: {
  custom: {
    50: '#d177be',
    500: '#b832a2',
    950: '#000000',
  },
}
SCSS
$custom: #b832a2;
$custom-light: #d177be;
$custom-dark: #000000;
JSON
{
  "hex": "#b832a2",
  "rgb": {
    "r": 184,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 309.851,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5596,
    "c": 0.20649,
    "h": 335.5
  },
  "luminance": 0.1508
}

Semantic roles & 50–950 ramp

primary
#B832A2
secondary
#7EC88A
accent
#E16047
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B832A2

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

Preview Lab → · Contrast checker → · Palette generator →

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