#B832A7#B832A7

#B832A7 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.2% C 0.210 H 333.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B832A7
RGBrgb(184, 50, 167)
HSLhsl(308, 57%, 46%)
HSVhsv(308, 73%, 72%)
CMYKcmyk(0%, 72.8%, 9.2%, 27.8%)
CIE-LABlab(45.99, 65.02, -33.96)
CIE-LCHlch(45.99, 73.35, 332.42°)
OKLaboklab(56.22% 0.1883 -0.0931)
OKLCHoklch(56.22% 0.21 333.7)
XYZxyz(27.8830, 15.2639, 38.0294)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B832A7 #32B843
analogous
#8632B8 #B832A7 #B83264
triadic
#B832A7 #A7B832 #32A7B8
tetradic
#B832A7 #B88632 #32B843 #3264B8
square
#B832A7 #B88632 #32B843 #3264B8
split-complementary
#B832A7 #64B832 #32B886
monochromatic
#581850 #88257B #B832A7 #D156C1 #DE86D3

Accessibility & contrast

On white

5.18
#B832A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B832A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B832A7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B832A7#FFFFFF#000000##FFFFFF
##B832A71.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E61AA
Deuteranopia (green-blind)
#5F74A4
Tritanopia (blue-blind)
#C13F69
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b832a7;
/* rgb */ color: rgb(184, 50, 167);
/* oklch */ color: oklch(56.2% 0.210 333.7);
Tailwind
colors: {
  custom: {
    50: '#d177c1',
    500: '#b832a7',
    950: '#000000',
  },
}
SCSS
$custom: #b832a7;
$custom-light: #d177c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b832a7",
  "rgb": {
    "r": 184,
    "g": 50,
    "b": 167
  },
  "hsl": {
    "h": 307.612,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56218,
    "c": 0.21005,
    "h": 333.7
  },
  "luminance": 0.15262
}

Semantic roles & 50–950 ramp

primary
#B832A7
secondary
#7EC887
accent
#E15B47
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B832A7

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

Preview Lab → · Contrast checker → · Palette generator →

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