#B82CAF#B82CAF

#B82CAF is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.2% C 0.222 H 331.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B82CAF
RGBrgb(184, 44, 175)
HSLhsl(304, 61%, 45%)
HSVhsv(304, 76%, 72%)
CMYKcmyk(0%, 76.1%, 4.9%, 27.8%)
CIE-LABlab(45.76, 68.10, -39.07)
CIE-LCHlch(45.76, 78.51, 330.16°)
OKLaboklab(56.18% 0.1941 -0.1078)
OKLCHoklch(56.18% 0.222 331)
XYZxyz(28.4057, 15.0892, 41.9656)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82CAF #2CB835
analogous
#7B2CB8 #B82CAF #B82C69
triadic
#B82CAF #AFB82C #2CAFB8
tetradic
#B82CAF #B87B2C #2CB835 #2C69B8
square
#B82CAF #B87B2C #2CB835 #2C69B8
split-complementary
#B82CAF #69B82C #2CB87B
monochromatic
#551451 #872080 #B82CAF #D44DCC #E07EDA

Accessibility & contrast

On white

5.23
#B82CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B82CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82CAF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82CAF#FFFFFF#000000##FFFFFF
##B82CAF1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C60B2
Deuteranopia (green-blind)
#5973AC
Tritanopia (blue-blind)
#BF3F6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b82caf;
/* rgb */ color: rgb(184, 44, 175);
/* oklch */ color: oklch(56.2% 0.222 331.0);
Tailwind
colors: {
  custom: {
    50: '#d175c7',
    500: '#b82caf',
    950: '#000000',
  },
}
SCSS
$custom: #b82caf;
$custom-light: #d175c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b82caf",
  "rgb": {
    "r": 184,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 303.857,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56181,
    "c": 0.22199,
    "h": 331
  },
  "luminance": 0.15087
}

Semantic roles & 50–950 ramp

primary
#B82CAF
secondary
#77C97C
accent
#E54E43
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B82CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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