#B526A3#B526A3

#B526A3 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.218 H 334.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B526A3
RGBrgb(181, 38, 163)
HSLhsl(308, 65%, 43%)
HSVhsv(308, 79%, 71%)
CMYKcmyk(0%, 79%, 9.9%, 29%)
CIE-LABlab(44.03, 67.33, -34.71)
CIE-LCHlch(44.03, 75.75, 332.73°)
OKLaboklab(54.64% 0.1956 -0.0952)
OKLCHoklch(54.64% 0.218 334.1)
XYZxyz(26.3603, 13.8567, 35.9295)
Luminance0.1385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B526A3 #26B538
analogous
#7F26B5 #B526A3 #B5265C
triadic
#B526A3 #A3B526 #26A3B5
tetradic
#B526A3 #B57F26 #26B538 #265CB5
square
#B526A3 #B57F26 #26B538 #265CB5
split-complementary
#B526A3 #5CB526 #26B57F
monochromatic
#501148 #821B75 #B526A3 #D741C4 #E274D4

Accessibility & contrast

On white

5.57
#B526A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B526A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B526A3
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B526A3#FFFFFF#000000##FFFFFF
##B526A31.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225BA6
Deuteranopia (green-blind)
#5A6FA0
Tritanopia (blue-blind)
#BE3564
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b526a3;
/* rgb */ color: rgb(181, 38, 163);
/* oklch */ color: oklch(54.6% 0.218 334.1);
Tailwind
colors: {
  custom: {
    50: '#cf72be',
    500: '#b526a3',
    950: '#000000',
  },
}
SCSS
$custom: #b526a3;
$custom-light: #cf72be;
$custom-dark: #000000;
JSON
{
  "hex": "#b526a3",
  "rgb": {
    "r": 181,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 307.552,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54643,
    "c": 0.21757,
    "h": 334.1
  },
  "luminance": 0.13854
}

Semantic roles & 50–950 ramp

primary
#B526A3
secondary
#6EC979
accent
#E85540
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B526A3

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

Preview Lab → · Contrast checker → · Palette generator →

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