#B82AAF#B82AAF

#B82AAF is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.0% C 0.224 H 331.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B82AAF
RGBrgb(184, 42, 175)
HSLhsl(304, 63%, 44%)
HSVhsv(304, 77%, 72%)
CMYKcmyk(0%, 77.2%, 4.9%, 27.8%)
CIE-LABlab(45.56, 68.67, -39.39)
CIE-LCHlch(45.56, 79.17, 330.16°)
OKLaboklab(56.04% 0.1957 -0.1087)
OKLCHoklch(56.04% 0.224 331)
XYZxyz(28.3330, 14.9437, 41.9413)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82AAF #2AB833
analogous
#7A2AB8 #B82AAF #B82A68
triadic
#B82AAF #AFB82A #2AAFB8
tetradic
#B82AAF #B87A2A #2AB833 #2A68B8
square
#B82AAF #B87A2A #2AB833 #2A68B8
split-complementary
#B82AAF #68B82A #2AB87A
monochromatic
#541350 #861F80 #B82AAF #D64ACD #E17BDB

Accessibility & contrast

On white

5.27
#B82AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B82AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82AAF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82AAF#FFFFFF#000000##FFFFFF
##B82AAF1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195FB3
Deuteranopia (green-blind)
#5873AC
Tritanopia (blue-blind)
#BF3D6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b82aaf;
/* rgb */ color: rgb(184, 42, 175);
/* oklch */ color: oklch(56.0% 0.224 331.0);
Tailwind
colors: {
  custom: {
    50: '#d174c7',
    500: '#b82aaf',
    950: '#000000',
  },
}
SCSS
$custom: #b82aaf;
$custom-light: #d174c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b82aaf",
  "rgb": {
    "r": 184,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 303.803,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56039,
    "c": 0.22387,
    "h": 331
  },
  "luminance": 0.14941
}

Semantic roles & 50–950 ramp

primary
#B82AAF
secondary
#75C97A
accent
#E64C42
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B82AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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