#B82FA9#B82FA9

#B82FA9 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.215 H 333.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B82FA9
RGBrgb(184, 47, 169)
HSLhsl(307, 59%, 45%)
HSVhsv(307, 74%, 72%)
CMYKcmyk(0%, 74.5%, 8.2%, 27.8%)
CIE-LABlab(45.76, 66.28, -35.52)
CIE-LCHlch(45.76, 75.20, 331.81°)
OKLaboklab(56.08% 0.1912 -0.0975)
OKLCHoklch(56.08% 0.215 333)
XYZxyz(27.9453, 15.0903, 38.9693)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82FA9 #2FB83E
analogous
#822FB8 #B82FA9 #B82F65
triadic
#B82FA9 #A9B82F #2FA9B8
tetradic
#B82FA9 #B8822F #2FB83E #2F65B8
square
#B82FA9 #B8822F #2FB83E #2F65B8
split-complementary
#B82FA9 #65B82F #2FB882
monochromatic
#57164F #87237C #B82FA9 #D352C5 #DF82D5

Accessibility & contrast

On white

5.23
#B82FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B82FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82FA9
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82FA9#FFFFFF#000000##FFFFFF
##B82FA91.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2860AC
Deuteranopia (green-blind)
#5D73A6
Tritanopia (blue-blind)
#C03E69
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b82fa9;
/* rgb */ color: rgb(184, 47, 169);
/* oklch */ color: oklch(56.1% 0.215 333.0);
Tailwind
colors: {
  custom: {
    50: '#d176c3',
    500: '#b82fa9',
    950: '#000000',
  },
}
SCSS
$custom: #b82fa9;
$custom-light: #d176c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b82fa9",
  "rgb": {
    "r": 184,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 306.569,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56081,
    "c": 0.21467,
    "h": 333
  },
  "luminance": 0.15088
}

Semantic roles & 50–950 ramp

primary
#B82FA9
secondary
#7BC883
accent
#E25745
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150912
muted
#837B81

Preview Lab

Preview with #B82FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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