#B82FA7#B82FA7

#B82FA7 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.213 H 333.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B82FA7
RGBrgb(184, 47, 167)
HSLhsl(307, 59%, 45%)
HSVhsv(307, 74%, 72%)
CMYKcmyk(0%, 74.5%, 9.2%, 27.8%)
CIE-LABlab(45.66, 65.98, -34.49)
CIE-LCHlch(45.66, 74.45, 332.40°)
OKLaboklab(55.97% 0.1911 -0.0946)
OKLCHoklch(55.97% 0.213 333.7)
XYZxyz(27.7590, 15.0158, 37.9881)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82FA7 #2FB840
analogous
#842FB8 #B82FA7 #B82F63
triadic
#B82FA7 #A7B82F #2FA7B8
tetradic
#B82FA7 #B8842F #2FB840 #2F63B8
square
#B82FA7 #B8842F #2FB840 #2F63B8
split-complementary
#B82FA7 #63B82F #2FB884
monochromatic
#57164F #87237B #B82FA7 #D352C3 #DF82D4

Accessibility & contrast

On white

5.25
#B82FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B82FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82FA7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82FA7#FFFFFF#000000##FFFFFF
##B82FA71.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5FAA
Deuteranopia (green-blind)
#5E73A4
Tritanopia (blue-blind)
#C13C68
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b82fa7;
/* rgb */ color: rgb(184, 47, 167);
/* oklch */ color: oklch(56.0% 0.213 333.7);
Tailwind
colors: {
  custom: {
    50: '#d176c1',
    500: '#b82fa7',
    950: '#000000',
  },
}
SCSS
$custom: #b82fa7;
$custom-light: #d176c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b82fa7",
  "rgb": {
    "r": 184,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 307.445,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55975,
    "c": 0.21324,
    "h": 333.7
  },
  "luminance": 0.15013
}

Semantic roles & 50–950 ramp

primary
#B82FA7
secondary
#7BC884
accent
#E25945
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B82FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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