#B82EA2#B82EA2

#B82EA2 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.211 H 335.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B82EA2
RGBrgb(184, 46, 162)
HSLhsl(310, 60%, 45%)
HSVhsv(310, 75%, 72%)
CMYKcmyk(0%, 75%, 12%, 27.8%)
CIE-LABlab(45.30, 65.55, -32.08)
CIE-LCHlch(45.30, 72.98, 333.92°)
OKLaboklab(55.64% 0.1917 -0.0876)
OKLCHoklch(55.64% 0.211 335.4)
XYZxyz(27.2661, 14.7554, 35.5875)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82EA2 #2EB844
analogous
#892EB8 #B82EA2 #B82E5D
triadic
#B82EA2 #A2B82E #2EA2B8
tetradic
#B82EA2 #B8892E #2EB844 #2E5DB8
square
#B82EA2 #B8892E #2EB844 #2E5DB8
split-complementary
#B82EA2 #5DB82E #2EB889
monochromatic
#56164C #872277 #B82EA2 #D350BE #DF81D0

Accessibility & contrast

On white

5.32
#B82EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B82EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82EA2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82EA2#FFFFFF#000000##FFFFFF
##B82EA21.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5EA5
Deuteranopia (green-blind)
#60729F
Tritanopia (blue-blind)
#C13965
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b82ea2;
/* rgb */ color: rgb(184, 46, 162);
/* oklch */ color: oklch(55.6% 0.211 335.4);
Tailwind
colors: {
  custom: {
    50: '#d175be',
    500: '#b82ea2',
    950: '#000000',
  },
}
SCSS
$custom: #b82ea2;
$custom-light: #d175be;
$custom-dark: #000000;
JSON
{
  "hex": "#b82ea2",
  "rgb": {
    "r": 184,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 309.565,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55636,
    "c": 0.21078,
    "h": 335.4
  },
  "luminance": 0.14753
}

Semantic roles & 50–950 ramp

primary
#B82EA2
secondary
#79C886
accent
#E35E45
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B82EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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