#B828B5#B828B5

#B828B5 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.2% C 0.230 H 329.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B828B5
RGBrgb(184, 40, 181)
HSLhsl(301, 64%, 44%)
HSVhsv(301, 78%, 72%)
CMYKcmyk(0%, 78.3%, 1.6%, 27.8%)
CIE-LABlab(45.70, 70.15, -42.70)
CIE-LCHlch(45.70, 82.12, 328.67°)
OKLaboklab(56.25% 0.1973 -0.1183)
OKLCHoklch(56.25% 0.23 329.1)
XYZxyz(28.8662, 15.0464, 45.0910)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B828B5 #28B82B
analogous
#7328B8 #B828B5 #B8286D
triadic
#B828B5 #B5B828 #28B5B8
tetradic
#B828B5 #B87328 #28B82B #286DB8
square
#B828B5 #B87328 #28B82B #286DB8
split-complementary
#B828B5 #6DB828 #28B873
monochromatic
#531252 #861D84 #B828B5 #D746D4 #E279E0

Accessibility & contrast

On white

5.24
#B828B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B828B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B828B5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B828B5#FFFFFF#000000##FFFFFF
##B828B51.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0260B9
Deuteranopia (green-blind)
#5473B2
Tritanopia (blue-blind)
#BE3F6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b828b5;
/* rgb */ color: rgb(184, 40, 181);
/* oklch */ color: oklch(56.2% 0.230 329.1);
Tailwind
colors: {
  custom: {
    50: '#d174cc',
    500: '#b828b5',
    950: '#000000',
  },
}
SCSS
$custom: #b828b5;
$custom-light: #d174cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b828b5",
  "rgb": {
    "r": 184,
    "g": 40,
    "b": 181
  },
  "hsl": {
    "h": 301.25,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56246,
    "c": 0.22998,
    "h": 329.1
  },
  "luminance": 0.15044
}

Semantic roles & 50–950 ramp

primary
#B828B5
secondary
#72CA74
accent
#E74441
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #B828B5

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

Preview Lab → · Contrast checker → · Palette generator →

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