#B526AA#B526AA

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

Color values

HEX#B526AA
RGBrgb(181, 38, 170)
HSLhsl(305, 65%, 43%)
HSVhsv(305, 79%, 71%)
CMYKcmyk(0%, 79%, 6.1%, 29%)
CIE-LABlab(44.40, 68.37, -38.30)
CIE-LCHlch(44.40, 78.37, 330.75°)
OKLaboklab(55.03% 0.1958 -0.1055)
OKLCHoklch(55.03% 0.222 331.7)
XYZxyz(27.0049, 14.1145, 39.3245)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B526AA #26B531
analogous
#7826B5 #B526AA #B52663
triadic
#B526AA #AAB526 #26AAB5
tetradic
#B526AA #B57826 #26B531 #2663B5
square
#B526AA #B57826 #26B531 #2663B5
split-complementary
#B526AA #63B526 #26B578
monochromatic
#50114B #821B7A #B526AA #D741CC #E274D9

Accessibility & contrast

On white

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

On black

3.82
#B526AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B526AA#FFFFFF#000000##FFFFFF
##B526AA1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175CAD
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#BD3968
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b526aa;
/* rgb */ color: rgb(181, 38, 170);
/* oklch */ color: oklch(55.0% 0.222 331.7);
Tailwind
colors: {
  custom: {
    50: '#cf72c4',
    500: '#b526aa',
    950: '#000000',
  },
}
SCSS
$custom: #b526aa;
$custom-light: #cf72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b526aa",
  "rgb": {
    "r": 181,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 304.615,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55027,
    "c": 0.22246,
    "h": 331.7
  },
  "luminance": 0.14112
}

Semantic roles & 50–950 ramp

primary
#B526AA
secondary
#6EC975
accent
#E84D40
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B526AA

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

Preview Lab → · Contrast checker → · Palette generator →

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