#B82FA6#B82FA6

#B82FA6 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.213 H 334.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B82FA6
RGBrgb(184, 47, 166)
HSLhsl(308, 59%, 45%)
HSVhsv(308, 74%, 72%)
CMYKcmyk(0%, 74.5%, 9.8%, 27.8%)
CIE-LABlab(45.61, 65.83, -33.98)
CIE-LCHlch(45.61, 74.08, 332.70°)
OKLaboklab(55.92% 0.1911 -0.0931)
OKLCHoklch(55.92% 0.213 334)
XYZxyz(27.6669, 14.9790, 37.5031)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82FA6 #2FB841
analogous
#852FB8 #B82FA6 #B82F62
triadic
#B82FA6 #A6B82F #2FA6B8
tetradic
#B82FA6 #B8852F #2FB841 #2F62B8
square
#B82FA6 #B8852F #2FB841 #2F62B8
split-complementary
#B82FA6 #62B82F #2FB885
monochromatic
#57164E #87237A #B82FA6 #D352C2 #DF82D3

Accessibility & contrast

On white

5.26
#B82FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B82FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82FA6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82FA6#FFFFFF#000000##FFFFFF
##B82FA61.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5FA9
Deuteranopia (green-blind)
#5F73A3
Tritanopia (blue-blind)
#C13C68
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b82fa6;
/* rgb */ color: rgb(184, 47, 166);
/* oklch */ color: oklch(55.9% 0.213 334.0);
Tailwind
colors: {
  custom: {
    50: '#d176c1',
    500: '#b82fa6',
    950: '#000000',
  },
}
SCSS
$custom: #b82fa6;
$custom-light: #d176c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b82fa6",
  "rgb": {
    "r": 184,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 307.883,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55922,
    "c": 0.21254,
    "h": 334
  },
  "luminance": 0.14977
}

Semantic roles & 50–950 ramp

primary
#B82FA6
secondary
#7BC885
accent
#E25A45
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B82FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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