#B82EA6#B82EA6

#B82EA6 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.214 H 334.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B82EA6
RGBrgb(184, 46, 166)
HSLhsl(308, 60%, 45%)
HSVhsv(308, 75%, 72%)
CMYKcmyk(0%, 75%, 9.8%, 27.8%)
CIE-LABlab(45.50, 66.14, -34.15)
CIE-LCHlch(45.50, 74.43, 332.69°)
OKLaboklab(55.84% 0.192 -0.0936)
OKLCHoklch(55.84% 0.214 334)
XYZxyz(27.6273, 14.8999, 37.4899)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82EA6 #2EB840
analogous
#852EB8 #B82EA6 #B82E61
triadic
#B82EA6 #A6B82E #2EA6B8
tetradic
#B82EA6 #B8852E #2EB840 #2E61B8
square
#B82EA6 #B8852E #2EB840 #2E61B8
split-complementary
#B82EA6 #61B82E #2EB885
monochromatic
#56164E #87227A #B82EA6 #D350C2 #DF81D3

Accessibility & contrast

On white

5.28
#B82EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B82EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82EA6
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82EA6#FFFFFF#000000##FFFFFF
##B82EA61.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5FA9
Deuteranopia (green-blind)
#5E73A3
Tritanopia (blue-blind)
#C13B68
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b82ea6;
/* rgb */ color: rgb(184, 46, 166);
/* oklch */ color: oklch(55.8% 0.214 334.0);
Tailwind
colors: {
  custom: {
    50: '#d175c1',
    500: '#b82ea6',
    950: '#000000',
  },
}
SCSS
$custom: #b82ea6;
$custom-light: #d175c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b82ea6",
  "rgb": {
    "r": 184,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 307.826,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55844,
    "c": 0.21357,
    "h": 334
  },
  "luminance": 0.14898
}

Semantic roles & 50–950 ramp

primary
#B82EA6
secondary
#79C884
accent
#E35945
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B82EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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