#B82DB2#B82DB2

#B82DB2 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.223 H 330.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B82DB2
RGBrgb(184, 45, 178)
HSLhsl(303, 61%, 45%)
HSVhsv(303, 76%, 72%)
CMYKcmyk(0%, 75.5%, 3.3%, 27.8%)
CIE-LABlab(46.02, 68.27, -40.42)
CIE-LCHlch(46.02, 79.34, 329.37°)
OKLaboklab(56.42% 0.1933 -0.1117)
OKLCHoklch(56.42% 0.223 330)
XYZxyz(28.7413, 15.2837, 43.5471)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82DB2 #2DB833
analogous
#792DB8 #B82DB2 #B82D6C
triadic
#B82DB2 #B2B82D #2DB2B8
tetradic
#B82DB2 #B8792D #2DB833 #2D6CB8
square
#B82DB2 #B8792D #2DB833 #2D6CB8
split-complementary
#B82DB2 #6CB82D #2DB879
monochromatic
#561553 #872182 #B82DB2 #D44ECE #E080DC

Accessibility & contrast

On white

5.18
#B82DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B82DB2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82DB2#FFFFFF#000000##FFFFFF
##B82DB21.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1861B6
Deuteranopia (green-blind)
#5873AF
Tritanopia (blue-blind)
#BF416E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b82db2;
/* rgb */ color: rgb(184, 45, 178);
/* oklch */ color: oklch(56.4% 0.223 330.0);
Tailwind
colors: {
  custom: {
    50: '#d175c9',
    500: '#b82db2',
    950: '#000000',
  },
}
SCSS
$custom: #b82db2;
$custom-light: #d175c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b82db2",
  "rgb": {
    "r": 184,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 302.59,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56423,
    "c": 0.22321,
    "h": 330
  },
  "luminance": 0.15281
}

Semantic roles & 50–950 ramp

primary
#B82DB2
secondary
#78C97C
accent
#E44B44
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B82DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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