#B82EA5#B82EA5

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

Color values

HEX#B82EA5
RGBrgb(184, 46, 165)
HSLhsl(308, 60%, 45%)
HSVhsv(308, 75%, 72%)
CMYKcmyk(0%, 75%, 10.3%, 27.8%)
CIE-LABlab(45.45, 65.99, -33.63)
CIE-LCHlch(45.45, 74.07, 332.99°)
OKLaboklab(55.79% 0.1919 -0.0921)
OKLCHoklch(55.79% 0.213 334.4)
XYZxyz(27.5360, 14.8634, 37.0087)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82EA5 #2EB841
analogous
#862EB8 #B82EA5 #B82E60
triadic
#B82EA5 #A5B82E #2EA5B8
tetradic
#B82EA5 #B8862E #2EB841 #2E60B8
square
#B82EA5 #B8862E #2EB841 #2E60B8
split-complementary
#B82EA5 #60B82E #2EB886
monochromatic
#56164D #872279 #B82EA5 #D350C1 #DF81D2

Accessibility & contrast

On white

5.29
#B82EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B82EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82EA5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82EA5#FFFFFF#000000##FFFFFF
##B82EA51.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5FA8
Deuteranopia (green-blind)
#5F73A2
Tritanopia (blue-blind)
#C13B67
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b82ea5;
/* rgb */ color: rgb(184, 46, 165);
/* oklch */ color: oklch(55.8% 0.213 334.4);
Tailwind
colors: {
  custom: {
    50: '#d175c0',
    500: '#b82ea5',
    950: '#000000',
  },
}
SCSS
$custom: #b82ea5;
$custom-light: #d175c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b82ea5",
  "rgb": {
    "r": 184,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 308.261,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55791,
    "c": 0.21287,
    "h": 334.4
  },
  "luminance": 0.14861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B82EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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