#B828BD#B828BD

#B828BD is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.7% C 0.236 H 326.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B828BD
RGBrgb(184, 40, 189)
HSLhsl(298, 65%, 45%)
HSVhsv(298, 79%, 74%)
CMYKcmyk(2.6%, 78.8%, 0%, 25.9%)
CIE-LABlab(46.16, 71.42, -46.66)
CIE-LCHlch(46.16, 85.31, 326.84°)
OKLaboklab(56.72% 0.1969 -0.1298)
OKLCHoklch(56.72% 0.236 326.6)
XYZxyz(29.7107, 15.3842, 49.5388)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B828BD #2DBD28
analogous
#6E28BD #B828BD #BD2877
triadic
#B828BD #BDB828 #28BDB8
tetradic
#B828BD #BD6E28 #2DBD28 #2877BD
square
#B828BD #BD6E28 #2DBD28 #2877BD
split-complementary
#B828BD #77BD28 #28BD6E
monochromatic
#561358 #871D8A #B828BD #D44AD9 #E07CE3

Accessibility & contrast

On white

5.15
#B828BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B828BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B828BD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B828BD#FFFFFF#000000##FFFFFF
##B828BD1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#4F73BA
Tritanopia (blue-blind)
#BD4473
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b828bd;
/* rgb */ color: rgb(184, 40, 189);
/* oklch */ color: oklch(56.7% 0.236 326.6);
Tailwind
colors: {
  custom: {
    50: '#d274d1',
    500: '#b828bd',
    950: '#000000',
  },
}
SCSS
$custom: #b828bd;
$custom-light: #d274d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b828bd",
  "rgb": {
    "r": 184,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 297.987,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56719,
    "c": 0.23585,
    "h": 326.6
  },
  "luminance": 0.15382
}

Semantic roles & 50–950 ramp

primary
#B828BD
secondary
#78CB75
accent
#E84045
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #B828BD

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

Preview Lab → · Contrast checker → · Palette generator →

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