#B828AE#B828AE

#B828AE is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.8% C 0.225 H 331.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B828AE
RGBrgb(184, 40, 174)
HSLhsl(304, 64%, 44%)
HSVhsv(304, 78%, 72%)
CMYKcmyk(0%, 78.3%, 5.4%, 27.8%)
CIE-LABlab(45.31, 69.07, -39.18)
CIE-LCHlch(45.31, 79.41, 330.43°)
OKLaboklab(55.85% 0.1973 -0.1081)
OKLCHoklch(55.85% 0.225 331.3)
XYZxyz(28.1659, 14.7663, 41.4029)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B828AE #28B832
analogous
#7A28B8 #B828AE #B82866
triadic
#B828AE #AEB828 #28AEB8
tetradic
#B828AE #B87A28 #28B832 #2866B8
square
#B828AE #B87A28 #28B832 #2866B8
split-complementary
#B828AE #66B828 #28B87A
monochromatic
#53124F #861D7E #B828AE #D746CD #E279DA

Accessibility & contrast

On white

5.31
#B828AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B828AE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B828AE#FFFFFF#000000##FFFFFF
##B828AE1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175FB1
Deuteranopia (green-blind)
#5872AB
Tritanopia (blue-blind)
#C03C6A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b828ae;
/* rgb */ color: rgb(184, 40, 174);
/* oklch */ color: oklch(55.8% 0.225 331.3);
Tailwind
colors: {
  custom: {
    50: '#d173c6',
    500: '#b828ae',
    950: '#000000',
  },
}
SCSS
$custom: #b828ae;
$custom-light: #d173c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b828ae",
  "rgb": {
    "r": 184,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 304.167,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55847,
    "c": 0.22496,
    "h": 331.3
  },
  "luminance": 0.14764
}

Semantic roles & 50–950 ramp

primary
#B828AE
secondary
#72CA78
accent
#E74C41
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B828AE

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

Preview Lab → · Contrast checker → · Palette generator →

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