#B82EB8#B82EB8

#B82EB8 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.227 H 328.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B82EB8
RGBrgb(184, 46, 184)
HSLhsl(300, 60%, 45%)
HSVhsv(300, 75%, 72%)
CMYKcmyk(0%, 75%, 0%, 27.8%)
CIE-LABlab(46.45, 68.93, -43.26)
CIE-LCHlch(46.45, 81.38, 327.89°)
OKLaboklab(56.84% 0.1924 -0.1199)
OKLCHoklch(56.84% 0.227 328.1)
XYZxyz(29.3955, 15.6072, 46.8023)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82EB8 #2EB82E
analogous
#732EB8 #B82EB8 #B82E73
triadic
#B82EB8 #B8B82E #2EB8B8
tetradic
#B82EB8 #B8732E #2EB82E #2E73B8
square
#B82EB8 #B8732E #2EB82E #2E73B8
split-complementary
#B82EB8 #73B82E #2EB873
monochromatic
#561656 #872287 #B82EB8 #D350D3 #DF81DF

Accessibility & contrast

On white

5.10
#B82EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B82EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82EB8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82EB8#FFFFFF#000000##FFFFFF
##B82EB81.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C63BC
Deuteranopia (green-blind)
#5574B5
Tritanopia (blue-blind)
#BE4472
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b82eb8;
/* rgb */ color: rgb(184, 46, 184);
/* oklch */ color: oklch(56.8% 0.227 328.1);
Tailwind
colors: {
  custom: {
    50: '#d176ce',
    500: '#b82eb8',
    950: '#000000',
  },
}
SCSS
$custom: #b82eb8;
$custom-light: #d176ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b82eb8",
  "rgb": {
    "r": 184,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 300,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5684,
    "c": 0.22669,
    "h": 328.1
  },
  "luminance": 0.15605
}

Semantic roles & 50–950 ramp

primary
#B82EB8
secondary
#79C879
accent
#E34545
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #B82EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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