#B82BB2#B82BB2

#B82BB2 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.3% C 0.225 H 330.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B82BB2
RGBrgb(184, 43, 178)
HSLhsl(303, 62%, 45%)
HSVhsv(303, 77%, 72%)
CMYKcmyk(0%, 76.6%, 3.3%, 27.8%)
CIE-LABlab(45.82, 68.86, -40.74)
CIE-LCHlch(45.82, 80.01, 329.39°)
OKLaboklab(56.28% 0.1949 -0.1126)
OKLCHoklch(56.28% 0.225 330)
XYZxyz(28.6668, 15.1347, 43.5223)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82BB2 #2BB831
analogous
#782BB8 #B82BB2 #B82B6C
triadic
#B82BB2 #B2B82B #2BB2B8
tetradic
#B82BB2 #B8782B #2BB831 #2B6CB8
square
#B82BB2 #B8782B #2BB831 #2B6CB8
split-complementary
#B82BB2 #6CB82B #2BB878
monochromatic
#551452 #861F82 #B82BB2 #D54BCF #E17DDC

Accessibility & contrast

On white

5.22
#B82BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B82BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82BB2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82BB2#FFFFFF#000000##FFFFFF
##B82BB21.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1460B6
Deuteranopia (green-blind)
#5773AF
Tritanopia (blue-blind)
#BF406D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b82bb2;
/* rgb */ color: rgb(184, 43, 178);
/* oklch */ color: oklch(56.3% 0.225 330.0);
Tailwind
colors: {
  custom: {
    50: '#d175c9',
    500: '#b82bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b82bb2;
$custom-light: #d175c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b82bb2",
  "rgb": {
    "r": 184,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 302.553,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56278,
    "c": 0.22511,
    "h": 330
  },
  "luminance": 0.15132
}

Semantic roles & 50–950 ramp

primary
#B82BB2
secondary
#76C979
accent
#E54A43
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B82BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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