#B82EAF#B82EAF

#B82EAF is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.220 H 331.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B82EAF
RGBrgb(184, 46, 175)
HSLhsl(304, 60%, 45%)
HSVhsv(304, 75%, 72%)
CMYKcmyk(0%, 75%, 4.9%, 27.8%)
CIE-LABlab(45.96, 67.51, -38.74)
CIE-LCHlch(45.96, 77.83, 330.15°)
OKLaboklab(56.33% 0.1924 -0.1068)
OKLCHoklch(56.33% 0.22 331)
XYZxyz(28.4820, 15.2418, 41.9910)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82EAF #2EB837
analogous
#7C2EB8 #B82EAF #B82E6A
triadic
#B82EAF #AFB82E #2EAFB8
tetradic
#B82EAF #B87C2E #2EB837 #2E6AB8
square
#B82EAF #B87C2E #2EB837 #2E6AB8
split-complementary
#B82EAF #6AB82E #2EB87C
monochromatic
#561652 #872280 #B82EAF #D350CB #DF81D9

Accessibility & contrast

On white

5.19
#B82EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B82EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82EAF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82EAF#FFFFFF#000000##FFFFFF
##B82EAF1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F61B2
Deuteranopia (green-blind)
#5A73AC
Tritanopia (blue-blind)
#BF406C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b82eaf;
/* rgb */ color: rgb(184, 46, 175);
/* oklch */ color: oklch(56.3% 0.220 331.0);
Tailwind
colors: {
  custom: {
    50: '#d176c7',
    500: '#b82eaf',
    950: '#000000',
  },
}
SCSS
$custom: #b82eaf;
$custom-light: #d176c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b82eaf",
  "rgb": {
    "r": 184,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 303.913,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5633,
    "c": 0.22003,
    "h": 331
  },
  "luminance": 0.15239
}

Semantic roles & 50–950 ramp

primary
#B82EAF
secondary
#79C87F
accent
#E34F45
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #B82EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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