#B82FB1#B82FB1

#B82FB1 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.220 H 330.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B82FB1
RGBrgb(184, 47, 177)
HSLhsl(303, 59%, 45%)
HSVhsv(303, 74%, 72%)
CMYKcmyk(0%, 74.5%, 3.8%, 27.8%)
CIE-LABlab(46.18, 67.51, -39.59)
CIE-LCHlch(46.18, 78.26, 329.62°)
OKLaboklab(56.52% 0.1915 -0.1093)
OKLCHoklch(56.52% 0.22 330.3)
XYZxyz(28.7194, 15.4000, 43.0463)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82FB1 #2FB836
analogous
#7B2FB8 #B82FB1 #B82F6C
triadic
#B82FB1 #B1B82F #2FB1B8
tetradic
#B82FB1 #B87B2F #2FB836 #2F6CB8
square
#B82FB1 #B87B2F #2FB836 #2F6CB8
split-complementary
#B82FB1 #6CB82F #2FB87B
monochromatic
#571653 #872382 #B82FB1 #D352CC #DF82DA

Accessibility & contrast

On white

5.15
#B82FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B82FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82FB1
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82FB1#FFFFFF#000000##FFFFFF
##B82FB11.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E62B5
Deuteranopia (green-blind)
#5974AE
Tritanopia (blue-blind)
#BF426E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b82fb1;
/* rgb */ color: rgb(184, 47, 177);
/* oklch */ color: oklch(56.5% 0.220 330.3);
Tailwind
colors: {
  custom: {
    50: '#d176c9',
    500: '#b82fb1',
    950: '#000000',
  },
}
SCSS
$custom: #b82fb1;
$custom-light: #d176c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b82fb1",
  "rgb": {
    "r": 184,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 303.066,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56517,
    "c": 0.22049,
    "h": 330.3
  },
  "luminance": 0.15398
}

Semantic roles & 50–950 ramp

primary
#B82FB1
secondary
#7BC87F
accent
#E24D45
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #B82FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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