#B82EB6#B82EB6

#B82EB6 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.7% C 0.225 H 328.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B82EB6
RGBrgb(184, 46, 182)
HSLhsl(301, 60%, 45%)
HSVhsv(301, 75%, 72%)
CMYKcmyk(0%, 75%, 1.1%, 27.8%)
CIE-LABlab(46.34, 68.61, -42.26)
CIE-LCHlch(46.34, 80.58, 328.37°)
OKLaboklab(56.72% 0.1924 -0.117)
OKLCHoklch(56.72% 0.225 328.7)
XYZxyz(29.1874, 15.5239, 45.7060)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82EB6 #2EB830
analogous
#752EB8 #B82EB6 #B82E71
triadic
#B82EB6 #B6B82E #2EB6B8
tetradic
#B82EB6 #B8752E #2EB830 #2E71B8
square
#B82EB6 #B8752E #2EB830 #2E71B8
split-complementary
#B82EB6 #71B82E #2EB875
monochromatic
#561655 #872286 #B82EB6 #D350D1 #DF81DE

Accessibility & contrast

On white

5.12
#B82EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B82EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82EB6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82EB6#FFFFFF#000000##FFFFFF
##B82EB61.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1262BA
Deuteranopia (green-blind)
#5674B3
Tritanopia (blue-blind)
#BE4370
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b82eb6;
/* rgb */ color: rgb(184, 46, 182);
/* oklch */ color: oklch(56.7% 0.225 328.7);
Tailwind
colors: {
  custom: {
    50: '#d176cc',
    500: '#b82eb6',
    950: '#000000',
  },
}
SCSS
$custom: #b82eb6;
$custom-light: #d176cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b82eb6",
  "rgb": {
    "r": 184,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 300.87,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56724,
    "c": 0.22519,
    "h": 328.7
  },
  "luminance": 0.15522
}

Semantic roles & 50–950 ramp

primary
#B82EB6
secondary
#79C87B
accent
#E34745
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #B82EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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