#B82FB8#B82FB8

#B82FB8 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.9% C 0.226 H 328.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B82FB8
RGBrgb(184, 47, 184)
HSLhsl(300, 59%, 45%)
HSVhsv(300, 74%, 72%)
CMYKcmyk(0%, 74.5%, 0%, 27.8%)
CIE-LABlab(46.56, 68.63, -43.09)
CIE-LCHlch(46.56, 81.03, 327.88°)
OKLaboklab(56.92% 0.1915 -0.1194)
OKLCHoklch(56.92% 0.226 328)
XYZxyz(29.4350, 15.6862, 46.8155)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82FB8 #2FB82F
analogous
#732FB8 #B82FB8 #B82F73
triadic
#B82FB8 #B8B82F #2FB8B8
tetradic
#B82FB8 #B8732F #2FB82F #2F73B8
square
#B82FB8 #B8732F #2FB82F #2F73B8
split-complementary
#B82FB8 #73B82F #2FB873
monochromatic
#571657 #872387 #B82FB8 #D352D3 #DF82DF

Accessibility & contrast

On white

5.08
#B82FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B82FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82FB8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82FB8#FFFFFF#000000##FFFFFF
##B82FB81.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F63BC
Deuteranopia (green-blind)
#5574B5
Tritanopia (blue-blind)
#BE4572
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b82fb8;
/* rgb */ color: rgb(184, 47, 184);
/* oklch */ color: oklch(56.9% 0.226 328.0);
Tailwind
colors: {
  custom: {
    50: '#d176ce',
    500: '#b82fb8',
    950: '#000000',
  },
}
SCSS
$custom: #b82fb8;
$custom-light: #d176ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b82fb8",
  "rgb": {
    "r": 184,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 300,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56915,
    "c": 0.2257,
    "h": 328
  },
  "luminance": 0.15684
}

Semantic roles & 50–950 ramp

primary
#B82FB8
secondary
#7BC87B
accent
#E24545
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #B82FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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