#B82FB3#B82FB3

#B82FB3 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.6% C 0.222 H 329.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B82FB3
RGBrgb(184, 47, 179)
HSLhsl(302, 59%, 45%)
HSVhsv(302, 74%, 72%)
CMYKcmyk(0%, 74.5%, 2.7%, 27.8%)
CIE-LABlab(46.29, 67.83, -40.59)
CIE-LCHlch(46.29, 79.05, 329.10°)
OKLaboklab(56.63% 0.1915 -0.1122)
OKLCHoklch(56.63% 0.222 329.6)
XYZxyz(28.9202, 15.4803, 44.1039)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82FB3 #2FB834
analogous
#792FB8 #B82FB3 #B82F6E
triadic
#B82FB3 #B3B82F #2FB3B8
tetradic
#B82FB3 #B8792F #2FB834 #2F6EB8
square
#B82FB3 #B8792F #2FB834 #2F6EB8
split-complementary
#B82FB3 #6EB82F #2FB879
monochromatic
#571654 #872384 #B82FB3 #D352CE #DF82DC

Accessibility & contrast

On white

5.13
#B82FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B82FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82FB3
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82FB3#FFFFFF#000000##FFFFFF
##B82FB31.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A62B7
Deuteranopia (green-blind)
#5874B0
Tritanopia (blue-blind)
#BF436F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b82fb3;
/* rgb */ color: rgb(184, 47, 179);
/* oklch */ color: oklch(56.6% 0.222 329.6);
Tailwind
colors: {
  custom: {
    50: '#d176ca',
    500: '#b82fb3',
    950: '#000000',
  },
}
SCSS
$custom: #b82fb3;
$custom-light: #d176ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b82fb3",
  "rgb": {
    "r": 184,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 302.19,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56629,
    "c": 0.22197,
    "h": 329.6
  },
  "luminance": 0.15478
}

Semantic roles & 50–950 ramp

primary
#B82FB3
secondary
#7BC87D
accent
#E24B45
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #B82FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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