#B82BB6#B82BB6

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

Color values

HEX#B82BB6
RGBrgb(184, 43, 182)
HSLhsl(301, 62%, 45%)
HSVhsv(301, 77%, 72%)
CMYKcmyk(0%, 76.6%, 1.1%, 27.8%)
CIE-LABlab(46.04, 69.48, -42.74)
CIE-LCHlch(46.04, 81.58, 328.40°)
OKLaboklab(56.51% 0.1949 -0.1184)
OKLCHoklch(56.51% 0.228 328.7)
XYZxyz(29.0743, 15.2977, 45.6683)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82BB6 #2BB82D
analogous
#742BB8 #B82BB6 #B82B70
triadic
#B82BB6 #B6B82B #2BB6B8
tetradic
#B82BB6 #B8742B #2BB82D #2B70B8
square
#B82BB6 #B8742B #2BB82D #2B70B8
split-complementary
#B82BB6 #70B82B #2BB874
monochromatic
#551454 #861F85 #B82BB6 #D54BD3 #E17DDF

Accessibility & contrast

On white

5.17
#B82BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B82BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82BB6
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82BB6#FFFFFF#000000##FFFFFF
##B82BB61.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0961BA
Deuteranopia (green-blind)
#5573B3
Tritanopia (blue-blind)
#BE4270
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b82bb6;
/* rgb */ color: rgb(184, 43, 182);
/* oklch */ color: oklch(56.5% 0.228 328.7);
Tailwind
colors: {
  custom: {
    50: '#d175cc',
    500: '#b82bb6',
    950: '#000000',
  },
}
SCSS
$custom: #b82bb6;
$custom-light: #d175cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b82bb6",
  "rgb": {
    "r": 184,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 300.851,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56507,
    "c": 0.22803,
    "h": 328.7
  },
  "luminance": 0.15295
}

Semantic roles & 50–950 ramp

primary
#B82BB6
secondary
#76C977
accent
#E54543
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #B82BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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