#B82CB2#B82CB2

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

Color values

HEX#B82CB2
RGBrgb(184, 44, 178)
HSLhsl(303, 61%, 45%)
HSVhsv(303, 76%, 72%)
CMYKcmyk(0%, 76.1%, 3.3%, 27.8%)
CIE-LABlab(45.92, 68.57, -40.58)
CIE-LCHlch(45.92, 79.68, 329.38°)
OKLaboklab(56.35% 0.1941 -0.1121)
OKLCHoklch(56.35% 0.224 330)
XYZxyz(28.7036, 15.2083, 43.5346)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82CB2 #2CB832
analogous
#782CB8 #B82CB2 #B82C6C
triadic
#B82CB2 #B2B82C #2CB2B8
tetradic
#B82CB2 #B8782C #2CB832 #2C6CB8
square
#B82CB2 #B8782C #2CB832 #2C6CB8
split-complementary
#B82CB2 #6CB82C #2CB878
monochromatic
#551452 #872082 #B82CB2 #D44DCF #E07EDC

Accessibility & contrast

On white

5.20
#B82CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B82CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82CB2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82CB2#FFFFFF#000000##FFFFFF
##B82CB21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1761B6
Deuteranopia (green-blind)
#5773AF
Tritanopia (blue-blind)
#BF406E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b82cb2;
/* rgb */ color: rgb(184, 44, 178);
/* oklch */ color: oklch(56.4% 0.224 330.0);
Tailwind
colors: {
  custom: {
    50: '#d175c9',
    500: '#b82cb2',
    950: '#000000',
  },
}
SCSS
$custom: #b82cb2;
$custom-light: #d175c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b82cb2",
  "rgb": {
    "r": 184,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 302.571,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5635,
    "c": 0.22417,
    "h": 330
  },
  "luminance": 0.15206
}

Semantic roles & 50–950 ramp

primary
#B82CB2
secondary
#77C97B
accent
#E54A43
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B82CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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