#B828B4#B828B4

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

Color values

HEX#B828B4
RGBrgb(184, 40, 180)
HSLhsl(302, 64%, 44%)
HSVhsv(302, 78%, 72%)
CMYKcmyk(0%, 78.3%, 2.2%, 27.8%)
CIE-LABlab(45.64, 69.99, -42.20)
CIE-LCHlch(45.64, 81.73, 328.91°)
OKLaboklab(56.19% 0.1973 -0.1168)
OKLCHoklch(56.19% 0.229 329.4)
XYZxyz(28.7640, 15.0055, 44.5526)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B828B4 #28B82C
analogous
#7428B8 #B828B4 #B8286C
triadic
#B828B4 #B4B828 #28B4B8
tetradic
#B828B4 #B87428 #28B82C #286CB8
square
#B828B4 #B87428 #28B82C #286CB8
split-complementary
#B828B4 #6CB828 #28B874
monochromatic
#531252 #861D83 #B828B4 #D746D3 #E279DF

Accessibility & contrast

On white

5.25
#B828B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B828B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B828B4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B828B4#FFFFFF#000000##FFFFFF
##B828B41.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0660B8
Deuteranopia (green-blind)
#5573B1
Tritanopia (blue-blind)
#BF3F6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b828b4;
/* rgb */ color: rgb(184, 40, 180);
/* oklch */ color: oklch(56.2% 0.229 329.4);
Tailwind
colors: {
  custom: {
    50: '#d174cb',
    500: '#b828b4',
    950: '#000000',
  },
}
SCSS
$custom: #b828b4;
$custom-light: #d174cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b828b4",
  "rgb": {
    "r": 184,
    "g": 40,
    "b": 180
  },
  "hsl": {
    "h": 301.667,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56188,
    "c": 0.22926,
    "h": 329.4
  },
  "luminance": 0.15003
}

Semantic roles & 50–950 ramp

primary
#B828B4
secondary
#72CA75
accent
#E74541
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B828B4

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

Preview Lab → · Contrast checker → · Palette generator →

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