#B82FAF#B82FAF

#B82FAF is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.219 H 331.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B82FAF
RGBrgb(184, 47, 175)
HSLhsl(304, 59%, 45%)
HSVhsv(304, 74%, 72%)
CMYKcmyk(0%, 74.5%, 4.9%, 27.8%)
CIE-LABlab(46.07, 67.20, -38.58)
CIE-LCHlch(46.07, 77.48, 330.14°)
OKLaboklab(56.41% 0.1915 -0.1063)
OKLCHoklch(56.41% 0.219 331)
XYZxyz(28.5215, 15.3208, 42.0042)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82FAF #2FB838
analogous
#7D2FB8 #B82FAF #B82F6A
triadic
#B82FAF #AFB82F #2FAFB8
tetradic
#B82FAF #B87D2F #2FB838 #2F6AB8
square
#B82FAF #B87D2F #2FB838 #2F6AB8
split-complementary
#B82FAF #6AB82F #2FB87D
monochromatic
#571652 #872381 #B82FAF #D352CA #DF82D9

Accessibility & contrast

On white

5.17
#B82FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B82FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82FAF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82FAF#FFFFFF#000000##FFFFFF
##B82FAF1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2161B2
Deuteranopia (green-blind)
#5A74AC
Tritanopia (blue-blind)
#BF416D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b82faf;
/* rgb */ color: rgb(184, 47, 175);
/* oklch */ color: oklch(56.4% 0.219 331.0);
Tailwind
colors: {
  custom: {
    50: '#d176c7',
    500: '#b82faf',
    950: '#000000',
  },
}
SCSS
$custom: #b82faf;
$custom-light: #d176c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b82faf",
  "rgb": {
    "r": 184,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 303.942,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56406,
    "c": 0.21902,
    "h": 331
  },
  "luminance": 0.15319
}

Semantic roles & 50–950 ramp

primary
#B82FAF
secondary
#7BC880
accent
#E25045
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #B82FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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