#B82CB6#B82CB6

#B82CB6 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.6% C 0.227 H 328.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B82CB6
RGBrgb(184, 44, 182)
HSLhsl(301, 61%, 45%)
HSVhsv(301, 76%, 72%)
CMYKcmyk(0%, 76.1%, 1.1%, 27.8%)
CIE-LABlab(46.14, 69.20, -42.59)
CIE-LCHlch(46.14, 81.25, 328.39°)
OKLaboklab(56.58% 0.1941 -0.118)
OKLCHoklch(56.58% 0.227 328.7)
XYZxyz(29.1111, 15.3713, 45.6806)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82CB6 #2CB82E
analogous
#742CB8 #B82CB6 #B82C70
triadic
#B82CB6 #B6B82C #2CB6B8
tetradic
#B82CB6 #B8742C #2CB82E #2C70B8
square
#B82CB6 #B8742C #2CB82E #2C70B8
split-complementary
#B82CB6 #70B82C #2CB874
monochromatic
#551454 #872085 #B82CB6 #D44DD2 #E07EDF

Accessibility & contrast

On white

5.15
#B82CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B82CB6
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82CB6#FFFFFF#000000##FFFFFF
##B82CB61.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C62BA
Deuteranopia (green-blind)
#5574B3
Tritanopia (blue-blind)
#BE4270
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b82cb6;
/* rgb */ color: rgb(184, 44, 182);
/* oklch */ color: oklch(56.6% 0.227 328.7);
Tailwind
colors: {
  custom: {
    50: '#d175cc',
    500: '#b82cb6',
    950: '#000000',
  },
}
SCSS
$custom: #b82cb6;
$custom-light: #d175cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b82cb6",
  "rgb": {
    "r": 184,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 300.857,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56578,
    "c": 0.22711,
    "h": 328.7
  },
  "luminance": 0.15369
}

Semantic roles & 50–950 ramp

primary
#B82CB6
secondary
#77C978
accent
#E54643
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #B82CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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