#B82FA8#B82FA8

#B82FA8 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.214 H 333.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B82FA8
RGBrgb(184, 47, 168)
HSLhsl(307, 59%, 45%)
HSVhsv(307, 74%, 72%)
CMYKcmyk(0%, 74.5%, 8.7%, 27.8%)
CIE-LABlab(45.71, 66.13, -35.01)
CIE-LCHlch(45.71, 74.82, 332.10°)
OKLaboklab(56.03% 0.1912 -0.096)
OKLCHoklch(56.03% 0.214 333.3)
XYZxyz(27.8518, 15.0529, 38.4768)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82FA8 #2FB83F
analogous
#832FB8 #B82FA8 #B82F64
triadic
#B82FA8 #A8B82F #2FA8B8
tetradic
#B82FA8 #B8832F #2FB83F #2F64B8
square
#B82FA8 #B8832F #2FB83F #2F64B8
split-complementary
#B82FA8 #64B82F #2FB883
monochromatic
#57164F #87237B #B82FA8 #D352C4 #DF82D4

Accessibility & contrast

On white

5.24
#B82FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B82FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82FA8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82FA8#FFFFFF#000000##FFFFFF
##B82FA81.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A60AB
Deuteranopia (green-blind)
#5E73A5
Tritanopia (blue-blind)
#C03D69
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b82fa8;
/* rgb */ color: rgb(184, 47, 168);
/* oklch */ color: oklch(56.0% 0.214 333.3);
Tailwind
colors: {
  custom: {
    50: '#d176c2',
    500: '#b82fa8',
    950: '#000000',
  },
}
SCSS
$custom: #b82fa8;
$custom-light: #d176c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b82fa8",
  "rgb": {
    "r": 184,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 307.007,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56027,
    "c": 0.21396,
    "h": 333.3
  },
  "luminance": 0.15051
}

Semantic roles & 50–950 ramp

primary
#B82FA8
secondary
#7BC884
accent
#E25845
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150912
muted
#837B81

Preview Lab

Preview with #B82FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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