#B528B0#B528B0

#B528B0 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.5% C 0.225 H 329.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B528B0
RGBrgb(181, 40, 176)
HSLhsl(302, 64%, 43%)
HSVhsv(302, 78%, 71%)
CMYKcmyk(0%, 77.9%, 2.8%, 29%)
CIE-LABlab(44.91, 68.76, -41.03)
CIE-LCHlch(44.91, 80.07, 329.17°)
OKLaboklab(55.5% 0.1943 -0.1135)
OKLCHoklch(55.5% 0.225 329.7)
XYZxyz(27.6512, 14.4781, 42.4041)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B528B0 #28B52D
analogous
#7328B5 #B528B0 #B52869
triadic
#B528B0 #B0B528 #28B0B5
tetradic
#B528B0 #B57328 #28B52D #2869B5
square
#B528B0 #B57328 #28B52D #2869B5
split-complementary
#B528B0 #69B528 #28B573
monochromatic
#51124F #831D7F #B528B0 #D644D1 #E177DD

Accessibility & contrast

On white

5.39
#B528B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B528B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B528B0
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B528B0#FFFFFF#000000##FFFFFF
##B528B01.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5EB4
Deuteranopia (green-blind)
#5471AD
Tritanopia (blue-blind)
#BC3E6C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b528b0;
/* rgb */ color: rgb(181, 40, 176);
/* oklch */ color: oklch(55.5% 0.225 329.7);
Tailwind
colors: {
  custom: {
    50: '#cf73c8',
    500: '#b528b0',
    950: '#000000',
  },
}
SCSS
$custom: #b528b0;
$custom-light: #cf73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b528b0",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 302.128,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55499,
    "c": 0.22499,
    "h": 329.7
  },
  "luminance": 0.14476
}

Semantic roles & 50–950 ramp

primary
#B528B0
secondary
#70C873
accent
#E74741
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B528B0

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

Preview Lab → · Contrast checker → · Palette generator →

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