#B828B6#B828B6

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

Color values

HEX#B828B6
RGBrgb(184, 40, 182)
HSLhsl(301, 64%, 44%)
HSVhsv(301, 78%, 72%)
CMYKcmyk(0%, 78.3%, 1.1%, 27.8%)
CIE-LABlab(45.75, 70.31, -43.20)
CIE-LCHlch(45.75, 82.52, 328.43°)
OKLaboklab(56.3% 0.1972 -0.1197)
OKLCHoklch(56.3% 0.231 328.7)
XYZxyz(28.9692, 15.0876, 45.6333)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B828B6 #28B82A
analogous
#7228B8 #B828B6 #B8286E
triadic
#B828B6 #B6B828 #28B6B8
tetradic
#B828B6 #B87228 #28B82A #286EB8
square
#B828B6 #B87228 #28B82A #286EB8
split-complementary
#B828B6 #6EB828 #28B872
monochromatic
#531253 #861D84 #B828B6 #D746D5 #E279E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B828B6#FFFFFF#000000##FFFFFF
##B828B61.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)
#0060BA
Deuteranopia (green-blind)
#5473B3
Tritanopia (blue-blind)
#BE406F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b828b6;
/* rgb */ color: rgb(184, 40, 182);
/* oklch */ color: oklch(56.3% 0.231 328.7);
Tailwind
colors: {
  custom: {
    50: '#d174cc',
    500: '#b828b6',
    950: '#000000',
  },
}
SCSS
$custom: #b828b6;
$custom-light: #d174cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b828b6",
  "rgb": {
    "r": 184,
    "g": 40,
    "b": 182
  },
  "hsl": {
    "h": 300.833,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56304,
    "c": 0.23072,
    "h": 328.7
  },
  "luminance": 0.15085
}

Semantic roles & 50–950 ramp

primary
#B828B6
secondary
#72CA73
accent
#E74341
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #B828B6

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

Preview Lab → · Contrast checker → · Palette generator →

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