#B82EB2#B82EB2

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

Color values

HEX#B82EB2
RGBrgb(184, 46, 178)
HSLhsl(303, 60%, 45%)
HSVhsv(303, 75%, 72%)
CMYKcmyk(0%, 75%, 3.3%, 27.8%)
CIE-LABlab(46.12, 67.97, -40.26)
CIE-LCHlch(46.12, 79.00, 329.36°)
OKLaboklab(56.5% 0.1924 -0.1112)
OKLCHoklch(56.5% 0.222 330)
XYZxyz(28.7799, 15.3609, 43.5600)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82EB2 #2EB834
analogous
#792EB8 #B82EB2 #B82E6D
triadic
#B82EB2 #B2B82E #2EB2B8
tetradic
#B82EB2 #B8792E #2EB834 #2E6DB8
square
#B82EB2 #B8792E #2EB834 #2E6DB8
split-complementary
#B82EB2 #6DB82E #2EB879
monochromatic
#561653 #872283 #B82EB2 #D350CE #DF81DB

Accessibility & contrast

On white

5.16
#B82EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B82EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82EB2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82EB2#FFFFFF#000000##FFFFFF
##B82EB21.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A61B6
Deuteranopia (green-blind)
#5874AF
Tritanopia (blue-blind)
#BF416E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b82eb2;
/* rgb */ color: rgb(184, 46, 178);
/* oklch */ color: oklch(56.5% 0.222 330.0);
Tailwind
colors: {
  custom: {
    50: '#d176c9',
    500: '#b82eb2',
    950: '#000000',
  },
}
SCSS
$custom: #b82eb2;
$custom-light: #d176c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b82eb2",
  "rgb": {
    "r": 184,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 302.609,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56497,
    "c": 0.22223,
    "h": 330
  },
  "luminance": 0.15359
}

Semantic roles & 50–950 ramp

primary
#B82EB2
secondary
#79C87D
accent
#E34C45
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #B82EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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