#B528A7#B528A7

#B528A7 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.0% C 0.219 H 332.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B528A7
RGBrgb(181, 40, 167)
HSLhsl(306, 64%, 43%)
HSVhsv(306, 78%, 71%)
CMYKcmyk(0%, 77.9%, 7.7%, 29%)
CIE-LABlab(44.42, 67.38, -36.47)
CIE-LCHlch(44.42, 76.62, 331.58°)
OKLaboklab(54.99% 0.1942 -0.1003)
OKLCHoklch(54.99% 0.219 332.7)
XYZxyz(26.7900, 14.1337, 37.8688)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B528A7 #28B536
analogous
#7C28B5 #B528A7 #B52861
triadic
#B528A7 #A7B528 #28A7B5
tetradic
#B528A7 #B57C28 #28B536 #2861B5
square
#B528A7 #B57C28 #28B536 #2861B5
split-complementary
#B528A7 #61B528 #28B57C
monochromatic
#51124B #831D79 #B528A7 #D644C7 #E177D6

Accessibility & contrast

On white

5.49
#B528A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B528A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B528A7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B528A7#FFFFFF#000000##FFFFFF
##B528A71.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5CAA
Deuteranopia (green-blind)
#5970A4
Tritanopia (blue-blind)
#BD3967
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b528a7;
/* rgb */ color: rgb(181, 40, 167);
/* oklch */ color: oklch(55.0% 0.219 332.7);
Tailwind
colors: {
  custom: {
    50: '#cf73c1',
    500: '#b528a7',
    950: '#000000',
  },
}
SCSS
$custom: #b528a7;
$custom-light: #cf73c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b528a7",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 305.957,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54994,
    "c": 0.21855,
    "h": 332.7
  },
  "luminance": 0.14131
}

Semantic roles & 50–950 ramp

primary
#B528A7
secondary
#70C879
accent
#E75141
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B528A7

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

Preview Lab → · Contrast checker → · Palette generator →

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