#B82FA5#B82FA5

#B82FA5 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.9% C 0.212 H 334.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B82FA5
RGBrgb(184, 47, 165)
HSLhsl(308, 59%, 45%)
HSVhsv(308, 74%, 72%)
CMYKcmyk(0%, 74.5%, 10.3%, 27.8%)
CIE-LABlab(45.56, 65.68, -33.46)
CIE-LCHlch(45.56, 73.71, 333.00°)
OKLaboklab(55.87% 0.191 -0.0916)
OKLCHoklch(55.87% 0.212 334.4)
XYZxyz(27.5755, 14.9424, 37.0219)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82FA5 #2FB842
analogous
#862FB8 #B82FA5 #B82F61
triadic
#B82FA5 #A5B82F #2FA5B8
tetradic
#B82FA5 #B8862F #2FB842 #2F61B8
square
#B82FA5 #B8862F #2FB842 #2F61B8
split-complementary
#B82FA5 #61B82F #2FB886
monochromatic
#57164E #872379 #B82FA5 #D352C1 #DF82D2

Accessibility & contrast

On white

5.27
#B82FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B82FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82FA5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82FA5#FFFFFF#000000##FFFFFF
##B82FA51.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5FA8
Deuteranopia (green-blind)
#5F73A2
Tritanopia (blue-blind)
#C13B67
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b82fa5;
/* rgb */ color: rgb(184, 47, 165);
/* oklch */ color: oklch(55.9% 0.212 334.4);
Tailwind
colors: {
  custom: {
    50: '#d176c0',
    500: '#b82fa5',
    950: '#000000',
  },
}
SCSS
$custom: #b82fa5;
$custom-light: #d176c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b82fa5",
  "rgb": {
    "r": 184,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 308.321,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5587,
    "c": 0.21183,
    "h": 334.4
  },
  "luminance": 0.1494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B82FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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