#B82FB7#B82FB7

#B82FB7 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.9% C 0.225 H 328.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B82FB7
RGBrgb(184, 47, 183)
HSLhsl(300, 59%, 45%)
HSVhsv(300, 74%, 72%)
CMYKcmyk(0%, 74.5%, 0.5%, 27.8%)
CIE-LABlab(46.50, 68.47, -42.59)
CIE-LCHlch(46.50, 80.63, 328.11°)
OKLaboklab(56.86% 0.1915 -0.118)
OKLCHoklch(56.86% 0.225 328.4)
XYZxyz(29.3306, 15.6444, 46.2654)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82FB7 #2FB830
analogous
#742FB8 #B82FB7 #B82F72
triadic
#B82FB7 #B7B82F #2FB7B8
tetradic
#B82FB7 #B8742F #2FB830 #2F72B8
square
#B82FB7 #B8742F #2FB830 #2F72B8
split-complementary
#B82FB7 #72B82F #2FB874
monochromatic
#571656 #872387 #B82FB7 #D352D2 #DF82DE

Accessibility & contrast

On white

5.09
#B82FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B82FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82FB7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82FB7#FFFFFF#000000##FFFFFF
##B82FB71.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1263BB
Deuteranopia (green-blind)
#5674B4
Tritanopia (blue-blind)
#BE4571
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b82fb7;
/* rgb */ color: rgb(184, 47, 183);
/* oklch */ color: oklch(56.9% 0.225 328.4);
Tailwind
colors: {
  custom: {
    50: '#d176cd',
    500: '#b82fb7',
    950: '#000000',
  },
}
SCSS
$custom: #b82fb7;
$custom-light: #d176cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b82fb7",
  "rgb": {
    "r": 184,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 300.438,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56857,
    "c": 0.22495,
    "h": 328.4
  },
  "luminance": 0.15642
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B82FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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