#B82FB2#B82FB2

#B82FB2 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.6% C 0.221 H 330.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B82FB2
RGBrgb(184, 47, 178)
HSLhsl(303, 59%, 45%)
HSVhsv(303, 74%, 72%)
CMYKcmyk(0%, 74.5%, 3.3%, 27.8%)
CIE-LABlab(46.23, 67.67, -40.09)
CIE-LCHlch(46.23, 78.65, 329.36°)
OKLaboklab(56.57% 0.1915 -0.1107)
OKLCHoklch(56.57% 0.221 330)
XYZxyz(28.8194, 15.4400, 43.5732)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82FB2 #2FB835
analogous
#7A2FB8 #B82FB2 #B82F6D
triadic
#B82FB2 #B2B82F #2FB2B8
tetradic
#B82FB2 #B87A2F #2FB835 #2F6DB8
square
#B82FB2 #B87A2F #2FB835 #2F6DB8
split-complementary
#B82FB2 #6DB82F #2FB87A
monochromatic
#571654 #872383 #B82FB2 #D352CD #DF82DB

Accessibility & contrast

On white

5.14
#B82FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B82FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82FB2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82FB2#FFFFFF#000000##FFFFFF
##B82FB21.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C62B6
Deuteranopia (green-blind)
#5974AF
Tritanopia (blue-blind)
#BF426E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b82fb2;
/* rgb */ color: rgb(184, 47, 178);
/* oklch */ color: oklch(56.6% 0.221 330.0);
Tailwind
colors: {
  custom: {
    50: '#d176c9',
    500: '#b82fb2',
    950: '#000000',
  },
}
SCSS
$custom: #b82fb2;
$custom-light: #d176c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b82fb2",
  "rgb": {
    "r": 184,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 302.628,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56573,
    "c": 0.22123,
    "h": 330
  },
  "luminance": 0.15438
}

Semantic roles & 50–950 ramp

primary
#B82FB2
secondary
#7BC87E
accent
#E24C45
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #B82FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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