#B82BAF#B82BAF

#B82BAF is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.1% C 0.223 H 331.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B82BAF
RGBrgb(184, 43, 175)
HSLhsl(304, 62%, 45%)
HSVhsv(304, 77%, 72%)
CMYKcmyk(0%, 76.6%, 4.9%, 27.8%)
CIE-LABlab(45.66, 68.39, -39.23)
CIE-LCHlch(45.66, 78.84, 330.16°)
OKLaboklab(56.11% 0.1949 -0.1082)
OKLCHoklch(56.11% 0.223 331)
XYZxyz(28.3689, 15.0156, 41.9533)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82BAF #2BB834
analogous
#7B2BB8 #B82BAF #B82B68
triadic
#B82BAF #AFB82B #2BAFB8
tetradic
#B82BAF #B87B2B #2BB834 #2B68B8
square
#B82BAF #B87B2B #2BB834 #2B68B8
split-complementary
#B82BAF #68B82B #2BB87B
monochromatic
#551451 #861F80 #B82BAF #D54BCC #E17DDA

Accessibility & contrast

On white

5.25
#B82BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B82BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82BAF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82BAF#FFFFFF#000000##FFFFFF
##B82BAF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A60B2
Deuteranopia (green-blind)
#5973AC
Tritanopia (blue-blind)
#BF3E6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b82baf;
/* rgb */ color: rgb(184, 43, 175);
/* oklch */ color: oklch(56.1% 0.223 331.0);
Tailwind
colors: {
  custom: {
    50: '#d175c7',
    500: '#b82baf',
    950: '#000000',
  },
}
SCSS
$custom: #b82baf;
$custom-light: #d175c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b82baf",
  "rgb": {
    "r": 184,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 303.83,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56109,
    "c": 0.22294,
    "h": 331
  },
  "luminance": 0.15013
}

Semantic roles & 50–950 ramp

primary
#B82BAF
secondary
#76C97B
accent
#E54D43
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B82BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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