#B828B3#B828B3

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

Color values

HEX#B828B3
RGBrgb(184, 40, 179)
HSLhsl(302, 64%, 44%)
HSVhsv(302, 78%, 72%)
CMYKcmyk(0%, 78.3%, 2.7%, 27.8%)
CIE-LABlab(45.59, 69.84, -41.70)
CIE-LCHlch(45.59, 81.34, 329.16°)
OKLaboklab(56.13% 0.1973 -0.1154)
OKLCHoklch(56.13% 0.229 329.7)
XYZxyz(28.6625, 14.9649, 44.0180)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B828B3 #28B82D
analogous
#7528B8 #B828B3 #B8286B
triadic
#B828B3 #B3B828 #28B3B8
tetradic
#B828B3 #B87528 #28B82D #286BB8
square
#B828B3 #B87528 #28B82D #286BB8
split-complementary
#B828B3 #6BB828 #28B875
monochromatic
#531251 #861D82 #B828B3 #D746D2 #E279DE

Accessibility & contrast

On white

5.26
#B828B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B828B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B828B3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B828B3#FFFFFF#000000##FFFFFF
##B828B31.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A60B7
Deuteranopia (green-blind)
#5573B0
Tritanopia (blue-blind)
#BF3E6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b828b3;
/* rgb */ color: rgb(184, 40, 179);
/* oklch */ color: oklch(56.1% 0.229 329.7);
Tailwind
colors: {
  custom: {
    50: '#d174ca',
    500: '#b828b3',
    950: '#000000',
  },
}
SCSS
$custom: #b828b3;
$custom-light: #d174ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b828b3",
  "rgb": {
    "r": 184,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 302.083,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5613,
    "c": 0.22854,
    "h": 329.7
  },
  "luminance": 0.14963
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B828B3

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

Preview Lab → · Contrast checker → · Palette generator →

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