#B82BB4#B82BB4

#B82BB4 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.4% C 0.227 H 329.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B82BB4
RGBrgb(184, 43, 180)
HSLhsl(302, 62%, 45%)
HSVhsv(302, 77%, 72%)
CMYKcmyk(0%, 76.6%, 2.2%, 27.8%)
CIE-LABlab(45.93, 69.17, -41.75)
CIE-LCHlch(45.93, 80.79, 328.89°)
OKLaboklab(56.39% 0.1949 -0.1155)
OKLCHoklch(56.39% 0.227 329.3)
XYZxyz(28.8691, 15.2156, 44.5876)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82BB4 #2BB82F
analogous
#762BB8 #B82BB4 #B82B6E
triadic
#B82BB4 #B4B82B #2BB4B8
tetradic
#B82BB4 #B8762B #2BB82F #2B6EB8
square
#B82BB4 #B8762B #2BB82F #2B6EB8
split-complementary
#B82BB4 #6EB82B #2BB876
monochromatic
#551453 #861F83 #B82BB4 #D54BD1 #E17DDE

Accessibility & contrast

On white

5.19
#B82BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B82BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82BB4
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82BB4#FFFFFF#000000##FFFFFF
##B82BB41.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F61B8
Deuteranopia (green-blind)
#5673B1
Tritanopia (blue-blind)
#BF416F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b82bb4;
/* rgb */ color: rgb(184, 43, 180);
/* oklch */ color: oklch(56.4% 0.227 329.3);
Tailwind
colors: {
  custom: {
    50: '#d175cb',
    500: '#b82bb4',
    950: '#000000',
  },
}
SCSS
$custom: #b82bb4;
$custom-light: #d175cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b82bb4",
  "rgb": {
    "r": 184,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 301.702,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56392,
    "c": 0.22657,
    "h": 329.3
  },
  "luminance": 0.15213
}

Semantic roles & 50–950 ramp

primary
#B82BB4
secondary
#76C978
accent
#E54743
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B82BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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