#B82BB3#B82BB3

#B82BB3 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.226 H 329.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B82BB3
RGBrgb(184, 43, 179)
HSLhsl(302, 62%, 45%)
HSVhsv(302, 77%, 72%)
CMYKcmyk(0%, 76.6%, 2.7%, 27.8%)
CIE-LABlab(45.87, 69.01, -41.25)
CIE-LCHlch(45.87, 80.40, 329.14°)
OKLaboklab(56.34% 0.1949 -0.1141)
OKLCHoklch(56.34% 0.226 329.7)
XYZxyz(28.7676, 15.1750, 44.0530)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82BB3 #2BB830
analogous
#772BB8 #B82BB3 #B82B6C
triadic
#B82BB3 #B3B82B #2BB3B8
tetradic
#B82BB3 #B8772B #2BB830 #2B6CB8
square
#B82BB3 #B8772B #2BB830 #2B6CB8
split-complementary
#B82BB3 #6CB82B #2BB877
monochromatic
#551452 #861F83 #B82BB3 #D54BD0 #E17DDD

Accessibility & contrast

On white

5.20
#B82BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B82BB3
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82BB3#FFFFFF#000000##FFFFFF
##B82BB31.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1261B7
Deuteranopia (green-blind)
#5673B0
Tritanopia (blue-blind)
#BF406E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b82bb3;
/* rgb */ color: rgb(184, 43, 179);
/* oklch */ color: oklch(56.3% 0.226 329.7);
Tailwind
colors: {
  custom: {
    50: '#d175ca',
    500: '#b82bb3',
    950: '#000000',
  },
}
SCSS
$custom: #b82bb3;
$custom-light: #d175ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b82bb3",
  "rgb": {
    "r": 184,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 302.128,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56335,
    "c": 0.22584,
    "h": 329.7
  },
  "luminance": 0.15173
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B82BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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