#B82EB4#B82EB4

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

Color values

HEX#B82EB4
RGBrgb(184, 46, 180)
HSLhsl(302, 60%, 45%)
HSVhsv(302, 75%, 72%)
CMYKcmyk(0%, 75%, 2.2%, 27.8%)
CIE-LABlab(46.23, 68.29, -41.26)
CIE-LCHlch(46.23, 79.79, 328.86°)
OKLaboklab(56.61% 0.1924 -0.1141)
OKLCHoklch(56.61% 0.224 329.3)
XYZxyz(28.9822, 15.4418, 44.6253)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82EB4 #2EB832
analogous
#772EB8 #B82EB4 #B82E6F
triadic
#B82EB4 #B4B82E #2EB4B8
tetradic
#B82EB4 #B8772E #2EB832 #2E6FB8
square
#B82EB4 #B8772E #2EB832 #2E6FB8
split-complementary
#B82EB4 #6FB82E #2EB877
monochromatic
#561654 #872284 #B82EB4 #D350CF #DF81DD

Accessibility & contrast

On white

5.14
#B82EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B82EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82EB4
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82EB4#FFFFFF#000000##FFFFFF
##B82EB41.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1662B8
Deuteranopia (green-blind)
#5774B1
Tritanopia (blue-blind)
#BF426F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b82eb4;
/* rgb */ color: rgb(184, 46, 180);
/* oklch */ color: oklch(56.6% 0.224 329.3);
Tailwind
colors: {
  custom: {
    50: '#d176cb',
    500: '#b82eb4',
    950: '#000000',
  },
}
SCSS
$custom: #b82eb4;
$custom-light: #d176cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b82eb4",
  "rgb": {
    "r": 184,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 301.739,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5661,
    "c": 0.2237,
    "h": 329.3
  },
  "luminance": 0.1544
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B82EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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