#B526A5#B526A5

#B526A5 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.8% C 0.219 H 333.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B526A5
RGBrgb(181, 38, 165)
HSLhsl(307, 65%, 43%)
HSVhsv(307, 79%, 71%)
CMYKcmyk(0%, 79%, 8.8%, 29%)
CIE-LABlab(44.13, 67.63, -35.74)
CIE-LCHlch(44.13, 76.49, 332.14°)
OKLaboklab(54.75% 0.1957 -0.0982)
OKLCHoklch(54.75% 0.219 333.4)
XYZxyz(26.5409, 13.9289, 36.8807)
Luminance0.1393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B526A5 #26B536
analogous
#7D26B5 #B526A5 #B5265E
triadic
#B526A5 #A5B526 #26A5B5
tetradic
#B526A5 #B57D26 #26B536 #265EB5
square
#B526A5 #B57D26 #26B536 #265EB5
split-complementary
#B526A5 #5EB526 #26B57D
monochromatic
#501149 #821B77 #B526A5 #D741C6 #E274D5

Accessibility & contrast

On white

5.55
#B526A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B526A5
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B526A5#FFFFFF#000000##FFFFFF
##B526A51.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5BA8
Deuteranopia (green-blind)
#596FA2
Tritanopia (blue-blind)
#BD3665
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b526a5;
/* rgb */ color: rgb(181, 38, 165);
/* oklch */ color: oklch(54.8% 0.219 333.4);
Tailwind
colors: {
  custom: {
    50: '#cf72c0',
    500: '#b526a5',
    950: '#000000',
  },
}
SCSS
$custom: #b526a5;
$custom-light: #cf72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b526a5",
  "rgb": {
    "r": 181,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 306.713,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54751,
    "c": 0.21895,
    "h": 333.4
  },
  "luminance": 0.13927
}

Semantic roles & 50–950 ramp

primary
#B526A5
secondary
#6EC978
accent
#E85240
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B526A5

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

Preview Lab → · Contrast checker → · Palette generator →

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