#B82CA6#B82CA6

#B82CA6 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.7% C 0.216 H 334.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B82CA6
RGBrgb(184, 44, 166)
HSLhsl(308, 61%, 45%)
HSVhsv(308, 76%, 72%)
CMYKcmyk(0%, 76.1%, 9.8%, 27.8%)
CIE-LABlab(45.29, 66.74, -34.48)
CIE-LCHlch(45.29, 75.12, 332.68°)
OKLaboklab(55.69% 0.1938 -0.0945)
OKLCHoklch(55.69% 0.216 334)
XYZxyz(27.5510, 14.7473, 37.4645)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82CA6 #2CB83E
analogous
#842CB8 #B82CA6 #B82C60
triadic
#B82CA6 #A6B82C #2CA6B8
tetradic
#B82CA6 #B8842C #2CB83E #2C60B8
square
#B82CA6 #B8842C #2CB83E #2C60B8
split-complementary
#B82CA6 #60B82C #2CB884
monochromatic
#55144D #872079 #B82CA6 #D44DC3 #E07ED4

Accessibility & contrast

On white

5.32
#B82CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B82CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82CA6
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82CA6#FFFFFF#000000##FFFFFF
##B82CA61.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285EA9
Deuteranopia (green-blind)
#5E72A3
Tritanopia (blue-blind)
#C13A67
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b82ca6;
/* rgb */ color: rgb(184, 44, 166);
/* oklch */ color: oklch(55.7% 0.216 334.0);
Tailwind
colors: {
  custom: {
    50: '#d175c1',
    500: '#b82ca6',
    950: '#000000',
  },
}
SCSS
$custom: #b82ca6;
$custom-light: #d175c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b82ca6",
  "rgb": {
    "r": 184,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 307.714,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55693,
    "c": 0.21558,
    "h": 334
  },
  "luminance": 0.14745
}

Semantic roles & 50–950 ramp

primary
#B82CA6
secondary
#77C982
accent
#E55843
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B82CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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