#B82FA4#B82FA4

#B82FA4 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.211 H 334.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B82FA4
RGBrgb(184, 47, 164)
HSLhsl(309, 59%, 45%)
HSVhsv(309, 74%, 72%)
CMYKcmyk(0%, 74.5%, 10.9%, 27.8%)
CIE-LABlab(45.51, 65.53, -32.95)
CIE-LCHlch(45.51, 73.35, 333.31°)
OKLaboklab(55.82% 0.1909 -0.0901)
OKLCHoklch(55.82% 0.211 334.7)
XYZxyz(27.4848, 14.9061, 36.5444)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82FA4 #2FB843
analogous
#872FB8 #B82FA4 #B82F60
triadic
#B82FA4 #A4B82F #2FA4B8
tetradic
#B82FA4 #B8872F #2FB843 #2F60B8
square
#B82FA4 #B8872F #2FB843 #2F60B8
split-complementary
#B82FA4 #60B82F #2FB887
monochromatic
#57164D #872379 #B82FA4 #D352C0 #DF82D2

Accessibility & contrast

On white

5.28
#B82FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B82FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82FA4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82FA4#FFFFFF#000000##FFFFFF
##B82FA41.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5FA7
Deuteranopia (green-blind)
#6073A1
Tritanopia (blue-blind)
#C13B67
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b82fa4;
/* rgb */ color: rgb(184, 47, 164);
/* oklch */ color: oklch(55.8% 0.211 334.7);
Tailwind
colors: {
  custom: {
    50: '#d176bf',
    500: '#b82fa4',
    950: '#000000',
  },
}
SCSS
$custom: #b82fa4;
$custom-light: #d176bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b82fa4",
  "rgb": {
    "r": 184,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 308.759,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55818,
    "c": 0.21113,
    "h": 334.7
  },
  "luminance": 0.14904
}

Semantic roles & 50–950 ramp

primary
#B82FA4
secondary
#7BC886
accent
#E25C45
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B82FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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