#B82EB7#B82EB7

#B82EB7 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.226 H 328.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B82EB7
RGBrgb(184, 46, 183)
HSLhsl(300, 60%, 45%)
HSVhsv(300, 75%, 72%)
CMYKcmyk(0%, 75%, 0.5%, 27.8%)
CIE-LABlab(46.40, 68.77, -42.76)
CIE-LCHlch(46.40, 80.98, 328.13°)
OKLaboklab(56.78% 0.1924 -0.1185)
OKLCHoklch(56.78% 0.226 328.4)
XYZxyz(29.2911, 15.5654, 46.2522)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82EB7 #2EB82F
analogous
#742EB8 #B82EB7 #B82E72
triadic
#B82EB7 #B7B82E #2EB7B8
tetradic
#B82EB7 #B8742E #2EB82F #2E72B8
square
#B82EB7 #B8742E #2EB82F #2E72B8
split-complementary
#B82EB7 #72B82E #2EB874
monochromatic
#561656 #872286 #B82EB7 #D350D2 #DF81DF

Accessibility & contrast

On white

5.11
#B82EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B82EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82EB7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82EB7#FFFFFF#000000##FFFFFF
##B82EB71.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F62BB
Deuteranopia (green-blind)
#5574B4
Tritanopia (blue-blind)
#BE4471
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b82eb7;
/* rgb */ color: rgb(184, 46, 183);
/* oklch */ color: oklch(56.8% 0.226 328.4);
Tailwind
colors: {
  custom: {
    50: '#d176cd',
    500: '#b82eb7',
    950: '#000000',
  },
}
SCSS
$custom: #b82eb7;
$custom-light: #d176cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b82eb7",
  "rgb": {
    "r": 184,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 300.435,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56782,
    "c": 0.22594,
    "h": 328.4
  },
  "luminance": 0.15563
}

Semantic roles & 50–950 ramp

primary
#B82EB7
secondary
#79C87A
accent
#E34645
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #B82EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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