#B82BC6#B82BC6

#B82BC6 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.5% C 0.240 H 323.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B82BC6
RGBrgb(184, 43, 198)
HSLhsl(295, 64%, 47%)
HSVhsv(295, 78%, 78%)
CMYKcmyk(7.1%, 78.3%, 0%, 22.4%)
CIE-LABlab(46.97, 72.09, -50.59)
CIE-LCHlch(46.97, 88.07, 324.94°)
OKLaboklab(57.47% 0.1941 -0.1413)
OKLCHoklch(57.47% 0.24 323.9)
XYZxyz(30.8232, 15.9973, 54.8794)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82BC6 #39C62B
analogous
#6B2BC6 #B82BC6 #C62B86
triadic
#B82BC6 #C6B82B #2BC6B8
tetradic
#B82BC6 #C66B2B #39C62B #2B86C6
square
#B82BC6 #C66B2B #39C62B #2B86C6
split-complementary
#B82BC6 #86C62B #2BC66B
monochromatic
#5B1561 #892094 #B82BC6 #CE54DA #DC87E5

Accessibility & contrast

On white

5.00
#B82BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B82BC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82BC6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82BC6#FFFFFF#000000##FFFFFF
##B82BC61.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#4A75C2
Tritanopia (blue-blind)
#BB4A79
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b82bc6;
/* rgb */ color: rgb(184, 43, 198);
/* oklch */ color: oklch(57.5% 0.240 323.9);
Tailwind
colors: {
  custom: {
    50: '#d276d8',
    500: '#b82bc6',
    950: '#000000',
  },
}
SCSS
$custom: #b82bc6;
$custom-light: #d276d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b82bc6",
  "rgb": {
    "r": 184,
    "g": 43,
    "b": 198
  },
  "hsl": {
    "h": 294.581,
    "s": 64.315,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57468,
    "c": 0.24004,
    "h": 323.9
  },
  "luminance": 0.15995
}

Semantic roles & 50–950 ramp

primary
#B82BC6
secondary
#86CE7F
accent
#E74050
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #B82BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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