#B82EB3#B82EB3

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

Color values

HEX#B82EB3
RGBrgb(184, 46, 179)
HSLhsl(302, 60%, 45%)
HSVhsv(302, 75%, 72%)
CMYKcmyk(0%, 75%, 2.7%, 27.8%)
CIE-LABlab(46.18, 68.13, -40.76)
CIE-LCHlch(46.18, 79.39, 329.11°)
OKLaboklab(56.55% 0.1924 -0.1127)
OKLCHoklch(56.55% 0.223 329.6)
XYZxyz(28.8807, 15.4012, 44.0907)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82EB3 #2EB833
analogous
#782EB8 #B82EB3 #B82E6E
triadic
#B82EB3 #B3B82E #2EB3B8
tetradic
#B82EB3 #B8782E #2EB833 #2E6EB8
square
#B82EB3 #B8782E #2EB833 #2E6EB8
split-complementary
#B82EB3 #6EB82E #2EB878
monochromatic
#561654 #872283 #B82EB3 #D350CE #DF81DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B82EB3#FFFFFF#000000##FFFFFF
##B82EB31.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)
#1862B7
Deuteranopia (green-blind)
#5874B0
Tritanopia (blue-blind)
#BF426F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b82eb3;
/* rgb */ color: rgb(184, 46, 179);
/* oklch */ color: oklch(56.6% 0.223 329.6);
Tailwind
colors: {
  custom: {
    50: '#d176ca',
    500: '#b82eb3',
    950: '#000000',
  },
}
SCSS
$custom: #b82eb3;
$custom-light: #d176ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b82eb3",
  "rgb": {
    "r": 184,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 302.174,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56553,
    "c": 0.22296,
    "h": 329.6
  },
  "luminance": 0.15399
}

Semantic roles & 50–950 ramp

primary
#B82EB3
secondary
#79C87C
accent
#E34A45
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #B82EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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