#B82FA2#B82FA2

#B82FA2 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.210 H 335.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B82FA2
RGBrgb(184, 47, 162)
HSLhsl(310, 59%, 45%)
HSVhsv(310, 74%, 72%)
CMYKcmyk(0%, 74.5%, 12%, 27.8%)
CIE-LABlab(45.41, 65.24, -31.91)
CIE-LCHlch(45.41, 72.62, 333.93°)
OKLaboklab(55.71% 0.1908 -0.0871)
OKLCHoklch(55.71% 0.21 335.5)
XYZxyz(27.3056, 14.8345, 35.6007)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82FA2 #2FB845
analogous
#892FB8 #B82FA2 #B82F5D
triadic
#B82FA2 #A2B82F #2FA2B8
tetradic
#B82FA2 #B8892F #2FB845 #2F5DB8
square
#B82FA2 #B8892F #2FB845 #2F5DB8
split-complementary
#B82FA2 #5DB82F #2FB889
monochromatic
#57164C #872377 #B82FA2 #D352BE #DF82D0

Accessibility & contrast

On white

5.29
#B82FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B82FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82FA2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82FA2#FFFFFF#000000##FFFFFF
##B82FA21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA5
Deuteranopia (green-blind)
#60739F
Tritanopia (blue-blind)
#C13A66
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b82fa2;
/* rgb */ color: rgb(184, 47, 162);
/* oklch */ color: oklch(55.7% 0.210 335.5);
Tailwind
colors: {
  custom: {
    50: '#d176be',
    500: '#b82fa2',
    950: '#000000',
  },
}
SCSS
$custom: #b82fa2;
$custom-light: #d176be;
$custom-dark: #000000;
JSON
{
  "hex": "#b82fa2",
  "rgb": {
    "r": 184,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 309.635,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55714,
    "c": 0.20974,
    "h": 335.5
  },
  "luminance": 0.14832
}

Semantic roles & 50–950 ramp

primary
#B82FA2
secondary
#7BC887
accent
#E25F45
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B82FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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