#B82BB5#B82BB5

#B82BB5 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.5% C 0.227 H 329.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B82BB5
RGBrgb(184, 43, 181)
HSLhsl(301, 62%, 45%)
HSVhsv(301, 77%, 72%)
CMYKcmyk(0%, 76.6%, 1.6%, 27.8%)
CIE-LABlab(45.98, 69.33, -42.25)
CIE-LCHlch(45.98, 81.18, 328.64°)
OKLaboklab(56.45% 0.1949 -0.117)
OKLCHoklch(56.45% 0.227 329)
XYZxyz(28.9713, 15.2565, 45.1260)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82BB5 #2BB82E
analogous
#752BB8 #B82BB5 #B82B6E
triadic
#B82BB5 #B5B82B #2BB5B8
tetradic
#B82BB5 #B8752B #2BB82E #2B6EB8
square
#B82BB5 #B8752B #2BB82E #2B6EB8
split-complementary
#B82BB5 #6EB82B #2BB875
monochromatic
#551453 #861F84 #B82BB5 #D54BD2 #E17DDE

Accessibility & contrast

On white

5.18
#B82BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B82BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82BB5
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82BB5#FFFFFF#000000##FFFFFF
##B82BB51.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C61B9
Deuteranopia (green-blind)
#5573B2
Tritanopia (blue-blind)
#BE416F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b82bb5;
/* rgb */ color: rgb(184, 43, 181);
/* oklch */ color: oklch(56.5% 0.227 329.0);
Tailwind
colors: {
  custom: {
    50: '#d175cc',
    500: '#b82bb5',
    950: '#000000',
  },
}
SCSS
$custom: #b82bb5;
$custom-light: #d175cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b82bb5",
  "rgb": {
    "r": 184,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 301.277,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5645,
    "c": 0.2273,
    "h": 329
  },
  "luminance": 0.15254
}

Semantic roles & 50–950 ramp

primary
#B82BB5
secondary
#76C978
accent
#E54643
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #B82BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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