#B524A8#B524A8

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

Color values

HEX#B524A8
RGBrgb(181, 36, 168)
HSLhsl(305, 67%, 43%)
HSVhsv(305, 80%, 71%)
CMYKcmyk(0%, 80.1%, 7.2%, 29%)
CIE-LABlab(44.11, 68.59, -37.56)
CIE-LCHlch(44.11, 78.20, 331.29°)
OKLaboklab(54.79% 0.1973 -0.1034)
OKLCHoklch(54.79% 0.223 332.3)
XYZxyz(26.7549, 13.9150, 38.3149)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B524A8 #24B531
analogous
#7924B5 #B524A8 #B52460
triadic
#B524A8 #A8B524 #24A8B5
tetradic
#B524A8 #B57924 #24B531 #2460B5
square
#B524A8 #B57924 #24B531 #2460B5
split-complementary
#B524A8 #60B524 #24B579
monochromatic
#4F1049 #821A79 #B524A8 #D93ECB #E371D8

Accessibility & contrast

On white

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

On black

3.78
#B524A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B524A8#FFFFFF#000000##FFFFFF
##B524A81.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175BAB
Deuteranopia (green-blind)
#576FA5
Tritanopia (blue-blind)
#BD3766
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b524a8;
/* rgb */ color: rgb(181, 36, 168);
/* oklch */ color: oklch(54.8% 0.223 332.3);
Tailwind
colors: {
  custom: {
    50: '#cf71c2',
    500: '#b524a8',
    950: '#000000',
  },
}
SCSS
$custom: #b524a8;
$custom-light: #cf71c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b524a8",
  "rgb": {
    "r": 181,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 305.379,
    "s": 66.82,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54788,
    "c": 0.22276,
    "h": 332.3
  },
  "luminance": 0.13913
}

Semantic roles & 50–950 ramp

primary
#B524A8
secondary
#6BC974
accent
#EA4D3E
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B524A8

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

Preview Lab → · Contrast checker → · Palette generator →

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