#B82BA8#B82BA8

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

Color values

HEX#B82BA8
RGBrgb(184, 43, 168)
HSLhsl(307, 62%, 45%)
HSVhsv(307, 77%, 72%)
CMYKcmyk(0%, 76.6%, 8.7%, 27.8%)
CIE-LABlab(45.29, 67.33, -35.67)
CIE-LCHlch(45.29, 76.19, 332.09°)
OKLaboklab(55.73% 0.1947 -0.0979)
OKLCHoklch(55.73% 0.218 333.3)
XYZxyz(27.6991, 14.7477, 38.4259)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82BA8 #2BB83B
analogous
#822BB8 #B82BA8 #B82B61
triadic
#B82BA8 #A8B82B #2BA8B8
tetradic
#B82BA8 #B8822B #2BB83B #2B61B8
square
#B82BA8 #B8822B #2BB83B #2B61B8
split-complementary
#B82BA8 #61B82B #2BB882
monochromatic
#55144D #861F7B #B82BA8 #D54BC5 #E17DD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B82BA8#FFFFFF#000000##FFFFFF
##B82BA81.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)
#255EAB
Deuteranopia (green-blind)
#5C72A5
Tritanopia (blue-blind)
#C03A68
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b82ba8;
/* rgb */ color: rgb(184, 43, 168);
/* oklch */ color: oklch(55.7% 0.218 333.3);
Tailwind
colors: {
  custom: {
    50: '#d174c2',
    500: '#b82ba8',
    950: '#000000',
  },
}
SCSS
$custom: #b82ba8;
$custom-light: #d174c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b82ba8",
  "rgb": {
    "r": 184,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 306.809,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55726,
    "c": 0.21795,
    "h": 333.3
  },
  "luminance": 0.14745
}

Semantic roles & 50–950 ramp

primary
#B82BA8
secondary
#76C97F
accent
#E55543
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150912
muted
#837B81

Preview Lab

Preview with #B82BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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