#B82AB5#B82AB5

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

Color values

HEX#B82AB5
RGBrgb(184, 42, 181)
HSLhsl(301, 63%, 44%)
HSVhsv(301, 77%, 72%)
CMYKcmyk(0%, 77.2%, 1.6%, 27.8%)
CIE-LABlab(45.89, 69.61, -42.40)
CIE-LCHlch(45.89, 81.50, 328.65°)
OKLaboklab(56.38% 0.1957 -0.1174)
OKLCHoklch(56.38% 0.228 329)
XYZxyz(28.9354, 15.1847, 45.1140)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82AB5 #2AB82D
analogous
#742AB8 #B82AB5 #B82A6E
triadic
#B82AB5 #B5B82A #2AB5B8
tetradic
#B82AB5 #B8742A #2AB82D #2A6EB8
square
#B82AB5 #B8742A #2AB82D #2A6EB8
split-complementary
#B82AB5 #6EB82A #2AB874
monochromatic
#541353 #861F84 #B82AB5 #D64AD3 #E17BDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B82AB5#FFFFFF#000000##FFFFFF
##B82AB51.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)
#0961B9
Deuteranopia (green-blind)
#5573B2
Tritanopia (blue-blind)
#BE416F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b82ab5;
/* rgb */ color: rgb(184, 42, 181);
/* oklch */ color: oklch(56.4% 0.228 329.0);
Tailwind
colors: {
  custom: {
    50: '#d174cc',
    500: '#b82ab5',
    950: '#000000',
  },
}
SCSS
$custom: #b82ab5;
$custom-light: #d174cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b82ab5",
  "rgb": {
    "r": 184,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 301.268,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5638,
    "c": 0.22822,
    "h": 329
  },
  "luminance": 0.15182
}

Semantic roles & 50–950 ramp

primary
#B82AB5
secondary
#75C976
accent
#E64542
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #B82AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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