#B82DB4#B82DB4

#B82DB4 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.225 H 329.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B82DB4
RGBrgb(184, 45, 180)
HSLhsl(302, 61%, 45%)
HSVhsv(302, 76%, 72%)
CMYKcmyk(0%, 75.5%, 2.2%, 27.8%)
CIE-LABlab(46.13, 68.59, -41.43)
CIE-LCHlch(46.13, 80.13, 328.87°)
OKLaboklab(56.54% 0.1933 -0.1146)
OKLCHoklch(56.54% 0.225 329.3)
XYZxyz(28.9436, 15.3646, 44.6124)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82DB4 #2DB831
analogous
#772DB8 #B82DB4 #B82D6E
triadic
#B82DB4 #B4B82D #2DB4B8
tetradic
#B82DB4 #B8772D #2DB831 #2D6EB8
square
#B82DB4 #B8772D #2DB831 #2D6EB8
split-complementary
#B82DB4 #6EB82D #2DB877
monochromatic
#561554 #872184 #B82DB4 #D44ED0 #E080DD

Accessibility & contrast

On white

5.16
#B82DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B82DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82DB4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82DB4#FFFFFF#000000##FFFFFF
##B82DB41.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1461B8
Deuteranopia (green-blind)
#5774B1
Tritanopia (blue-blind)
#BF426F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b82db4;
/* rgb */ color: rgb(184, 45, 180);
/* oklch */ color: oklch(56.5% 0.225 329.3);
Tailwind
colors: {
  custom: {
    50: '#d176cb',
    500: '#b82db4',
    950: '#000000',
  },
}
SCSS
$custom: #b82db4;
$custom-light: #d176cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b82db4",
  "rgb": {
    "r": 184,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 301.727,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56536,
    "c": 0.22468,
    "h": 329.3
  },
  "luminance": 0.15362
}

Semantic roles & 50–950 ramp

primary
#B82DB4
secondary
#78C97B
accent
#E44944
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B82DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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