#B82BAD#B82BAD

#B82BAD is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.0% C 0.222 H 331.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B82BAD
RGBrgb(184, 43, 173)
HSLhsl(305, 62%, 45%)
HSVhsv(305, 77%, 72%)
CMYKcmyk(0%, 76.6%, 6%, 27.8%)
CIE-LABlab(45.55, 68.08, -38.22)
CIE-LCHlch(45.55, 78.08, 330.69°)
OKLaboklab(56% 0.1949 -0.1053)
OKLCHoklch(56% 0.222 331.6)
XYZxyz(28.1739, 14.9376, 40.9264)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82BAD #2BB836
analogous
#7D2BB8 #B82BAD #B82B67
triadic
#B82BAD #ADB82B #2BADB8
tetradic
#B82BAD #B87D2B #2BB836 #2B67B8
square
#B82BAD #B87D2B #2BB836 #2B67B8
split-complementary
#B82BAD #67B82B #2BB87D
monochromatic
#551450 #861F7E #B82BAD #D54BCA #E17DD9

Accessibility & contrast

On white

5.27
#B82BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B82BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82BAD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82BAD#FFFFFF#000000##FFFFFF
##B82BAD1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5FB0
Deuteranopia (green-blind)
#5A73AA
Tritanopia (blue-blind)
#C03D6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b82bad;
/* rgb */ color: rgb(184, 43, 173);
/* oklch */ color: oklch(56.0% 0.222 331.6);
Tailwind
colors: {
  custom: {
    50: '#d174c6',
    500: '#b82bad',
    950: '#000000',
  },
}
SCSS
$custom: #b82bad;
$custom-light: #d174c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b82bad",
  "rgb": {
    "r": 184,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 304.681,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55998,
    "c": 0.2215,
    "h": 331.6
  },
  "luminance": 0.14935
}

Semantic roles & 50–950 ramp

primary
#B82BAD
secondary
#76C97C
accent
#E54F43
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B82BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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