#B82FA3#B82FA3

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

Color values

HEX#B82FA3
RGBrgb(184, 47, 163)
HSLhsl(309, 59%, 45%)
HSVhsv(309, 74%, 72%)
CMYKcmyk(0%, 74.5%, 11.4%, 27.8%)
CIE-LABlab(45.46, 65.38, -32.43)
CIE-LCHlch(45.46, 72.98, 333.62°)
OKLaboklab(55.77% 0.1909 -0.0886)
OKLCHoklch(55.77% 0.21 335.1)
XYZxyz(27.3949, 14.8702, 36.0707)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82FA3 #2FB844
analogous
#882FB8 #B82FA3 #B82F5F
triadic
#B82FA3 #A3B82F #2FA3B8
tetradic
#B82FA3 #B8882F #2FB844 #2F5FB8
square
#B82FA3 #B8882F #2FB844 #2F5FB8
split-complementary
#B82FA3 #5FB82F #2FB888
monochromatic
#57164D #872378 #B82FA3 #D352BF #DF82D1

Accessibility & contrast

On white

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

On black

3.97
#B82FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B82FA3#FFFFFF#000000##FFFFFF
##B82FA31.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5FA6
Deuteranopia (green-blind)
#6073A0
Tritanopia (blue-blind)
#C13A66
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b82fa3;
/* rgb */ color: rgb(184, 47, 163);
/* oklch */ color: oklch(55.8% 0.210 335.1);
Tailwind
colors: {
  custom: {
    50: '#d176be',
    500: '#b82fa3',
    950: '#000000',
  },
}
SCSS
$custom: #b82fa3;
$custom-light: #d176be;
$custom-dark: #000000;
JSON
{
  "hex": "#b82fa3",
  "rgb": {
    "r": 184,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 309.197,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55766,
    "c": 0.21043,
    "h": 335.1
  },
  "luminance": 0.14868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B82FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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