#B82FAC#B82FAC

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

Color values

HEX#B82FAC
RGBrgb(184, 47, 172)
HSLhsl(305, 59%, 45%)
HSVhsv(305, 74%, 72%)
CMYKcmyk(0%, 74.5%, 6.5%, 27.8%)
CIE-LABlab(45.91, 66.74, -37.05)
CIE-LCHlch(45.91, 76.33, 330.96°)
OKLaboklab(56.24% 0.1914 -0.1019)
OKLCHoklch(56.24% 0.217 332)
XYZxyz(28.2301, 15.2043, 40.4696)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82FAC #2FB83B
analogous
#7F2FB8 #B82FAC #B82F68
triadic
#B82FAC #ACB82F #2FACB8
tetradic
#B82FAC #B87F2F #2FB83B #2F68B8
square
#B82FAC #B87F2F #2FB83B #2F68B8
split-complementary
#B82FAC #68B82F #2FB87F
monochromatic
#571651 #87237E #B82FAC #D352C7 #DF82D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B82FAC#FFFFFF#000000##FFFFFF
##B82FAC1.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)
#2560AF
Deuteranopia (green-blind)
#5C73A9
Tritanopia (blue-blind)
#C03F6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b82fac;
/* rgb */ color: rgb(184, 47, 172);
/* oklch */ color: oklch(56.2% 0.217 332.0);
Tailwind
colors: {
  custom: {
    50: '#d176c5',
    500: '#b82fac',
    950: '#000000',
  },
}
SCSS
$custom: #b82fac;
$custom-light: #d176c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b82fac",
  "rgb": {
    "r": 184,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 305.255,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56242,
    "c": 0.21684,
    "h": 332
  },
  "luminance": 0.15202
}

Semantic roles & 50–950 ramp

primary
#B82FAC
secondary
#7BC881
accent
#E25345
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #B82FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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