#B526A7#B526A7

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

Color values

HEX#B526A7
RGBrgb(181, 38, 167)
HSLhsl(306, 65%, 43%)
HSVhsv(306, 79%, 71%)
CMYKcmyk(0%, 79%, 7.7%, 29%)
CIE-LABlab(44.24, 67.92, -36.77)
CIE-LCHlch(44.24, 77.24, 331.57°)
OKLaboklab(54.86% 0.1958 -0.1011)
OKLCHoklch(54.86% 0.22 332.7)
XYZxyz(26.7244, 14.0023, 37.8469)
Luminance0.1400 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B526A7 #26B534
analogous
#7B26B5 #B526A7 #B5265F
triadic
#B526A7 #A7B526 #26A7B5
tetradic
#B526A7 #B57B26 #26B534 #265FB5
square
#B526A7 #B57B26 #26B534 #265FB5
split-complementary
#B526A7 #5FB526 #26B57B
monochromatic
#50114A #821B78 #B526A7 #D741C8 #E274D7

Accessibility & contrast

On white

5.53
#B526A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B526A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B526A7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B526A7#FFFFFF#000000##FFFFFF
##B526A71.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5CAA
Deuteranopia (green-blind)
#5870A4
Tritanopia (blue-blind)
#BD3766
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b526a7;
/* rgb */ color: rgb(181, 38, 167);
/* oklch */ color: oklch(54.9% 0.220 332.7);
Tailwind
colors: {
  custom: {
    50: '#cf72c1',
    500: '#b526a7',
    950: '#000000',
  },
}
SCSS
$custom: #b526a7;
$custom-light: #cf72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b526a7",
  "rgb": {
    "r": 181,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 305.874,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5486,
    "c": 0.22035,
    "h": 332.7
  },
  "luminance": 0.14
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B526A7

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

Preview Lab → · Contrast checker → · Palette generator →

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