#B526A6#B526A6

#B526A6 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.220 H 333.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B526A6
RGBrgb(181, 38, 166)
HSLhsl(306, 65%, 43%)
HSVhsv(306, 79%, 71%)
CMYKcmyk(0%, 79%, 8.3%, 29%)
CIE-LABlab(44.18, 67.77, -36.25)
CIE-LCHlch(44.18, 76.86, 331.86°)
OKLaboklab(54.81% 0.1957 -0.0996)
OKLCHoklch(54.81% 0.22 333)
XYZxyz(26.6323, 13.9655, 37.3620)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B526A6 #26B535
analogous
#7D26B5 #B526A6 #B5265E
triadic
#B526A6 #A6B526 #26A6B5
tetradic
#B526A6 #B57D26 #26B535 #265EB5
square
#B526A6 #B57D26 #26B535 #265EB5
split-complementary
#B526A6 #5EB526 #26B57D
monochromatic
#501149 #821B78 #B526A6 #D741C7 #E274D6

Accessibility & contrast

On white

5.54
#B526A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B526A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B526A6
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B526A6#FFFFFF#000000##FFFFFF
##B526A61.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5CA9
Deuteranopia (green-blind)
#5970A3
Tritanopia (blue-blind)
#BD3765
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b526a6;
/* rgb */ color: rgb(181, 38, 166);
/* oklch */ color: oklch(54.8% 0.220 333.0);
Tailwind
colors: {
  custom: {
    50: '#cf72c1',
    500: '#b526a6',
    950: '#000000',
  },
}
SCSS
$custom: #b526a6;
$custom-light: #cf72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b526a6",
  "rgb": {
    "r": 181,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 306.294,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54805,
    "c": 0.21965,
    "h": 333
  },
  "luminance": 0.13963
}

Semantic roles & 50–950 ramp

primary
#B526A6
secondary
#6EC977
accent
#E85140
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B526A6

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

Preview Lab → · Contrast checker → · Palette generator →

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