#B526A9#B526A9

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

Color values

HEX#B526A9
RGBrgb(181, 38, 169)
HSLhsl(305, 65%, 43%)
HSVhsv(305, 79%, 71%)
CMYKcmyk(0%, 79%, 6.6%, 29%)
CIE-LABlab(44.34, 68.22, -37.79)
CIE-LCHlch(44.34, 77.99, 331.02°)
OKLaboklab(54.97% 0.1958 -0.1041)
OKLCHoklch(54.97% 0.222 332)
XYZxyz(26.9107, 14.0768, 38.8282)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B526A9 #26B532
analogous
#7926B5 #B526A9 #B52661
triadic
#B526A9 #A9B526 #26A9B5
tetradic
#B526A9 #B57926 #26B532 #2661B5
square
#B526A9 #B57926 #26B532 #2661B5
split-complementary
#B526A9 #61B526 #26B579
monochromatic
#50114B #821B7A #B526A9 #D741CB #E274D9

Accessibility & contrast

On white

5.50
#B526A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B526A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B526A9
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B526A9#FFFFFF#000000##FFFFFF
##B526A91.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195CAC
Deuteranopia (green-blind)
#5770A6
Tritanopia (blue-blind)
#BD3967
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b526a9;
/* rgb */ color: rgb(181, 38, 169);
/* oklch */ color: oklch(55.0% 0.222 332.0);
Tailwind
colors: {
  custom: {
    50: '#cf72c3',
    500: '#b526a9',
    950: '#000000',
  },
}
SCSS
$custom: #b526a9;
$custom-light: #cf72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b526a9",
  "rgb": {
    "r": 181,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 305.035,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54971,
    "c": 0.22175,
    "h": 332
  },
  "luminance": 0.14075
}

Semantic roles & 50–950 ramp

primary
#B526A9
secondary
#6EC976
accent
#E84E40
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B526A9

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

Preview Lab → · Contrast checker → · Palette generator →

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