#B828B0#B828B0

#B828B0 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 56.0% C 0.226 H 330.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B828B0
RGBrgb(184, 40, 176)
HSLhsl(303, 64%, 44%)
HSVhsv(303, 78%, 72%)
CMYKcmyk(0%, 78.3%, 4.3%, 27.8%)
CIE-LABlab(45.42, 69.38, -40.19)
CIE-LCHlch(45.42, 80.18, 329.91°)
OKLaboklab(55.96% 0.1973 -0.111)
OKLCHoklch(55.96% 0.226 330.6)
XYZxyz(28.3624, 14.8448, 42.4374)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B828B0 #28B830
analogous
#7828B8 #B828B0 #B82868
triadic
#B828B0 #B0B828 #28B0B8
tetradic
#B828B0 #B87828 #28B830 #2868B8
square
#B828B0 #B87828 #28B830 #2868B8
split-complementary
#B828B0 #68B828 #28B878
monochromatic
#531250 #861D80 #B828B0 #D746CF #E279DC

Accessibility & contrast

On white

5.29
#B828B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B828B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B828B0
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B828B0#FFFFFF#000000##FFFFFF
##B828B01.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135FB4
Deuteranopia (green-blind)
#5772AD
Tritanopia (blue-blind)
#BF3D6C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b828b0;
/* rgb */ color: rgb(184, 40, 176);
/* oklch */ color: oklch(56.0% 0.226 330.6);
Tailwind
colors: {
  custom: {
    50: '#d174c8',
    500: '#b828b0',
    950: '#000000',
  },
}
SCSS
$custom: #b828b0;
$custom-light: #d174c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b828b0",
  "rgb": {
    "r": 184,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 303.333,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5596,
    "c": 0.22638,
    "h": 330.6
  },
  "luminance": 0.14843
}

Semantic roles & 50–950 ramp

primary
#B828B0
secondary
#72CA77
accent
#E74A41
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B828B0

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

Preview Lab → · Contrast checker → · Palette generator →

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