#B524A7#B524A7

#B524A7 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.222 H 332.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B524A7
RGBrgb(181, 36, 167)
HSLhsl(306, 67%, 43%)
HSVhsv(306, 80%, 71%)
CMYKcmyk(0%, 80.1%, 7.7%, 29%)
CIE-LABlab(44.06, 68.44, -37.05)
CIE-LCHlch(44.06, 77.82, 331.57°)
OKLaboklab(54.73% 0.1973 -0.1019)
OKLCHoklch(54.73% 0.222 332.7)
XYZxyz(26.6621, 13.8778, 37.8262)
Luminance0.1388 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B524A7 #24B532
analogous
#7A24B5 #B524A7 #B5245F
triadic
#B524A7 #A7B524 #24A7B5
tetradic
#B524A7 #B57A24 #24B532 #245FB5
square
#B524A7 #B57A24 #24B532 #245FB5
split-complementary
#B524A7 #5FB524 #24B57A
monochromatic
#4F1049 #821A78 #B524A7 #D93ECA #E371D8

Accessibility & contrast

On white

5.56
#B524A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B524A7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B524A7#FFFFFF#000000##FFFFFF
##B524A71.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195BAA
Deuteranopia (green-blind)
#586FA4
Tritanopia (blue-blind)
#BD3666
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b524a7;
/* rgb */ color: rgb(181, 36, 167);
/* oklch */ color: oklch(54.7% 0.222 332.7);
Tailwind
colors: {
  custom: {
    50: '#cf71c1',
    500: '#b524a7',
    950: '#000000',
  },
}
SCSS
$custom: #b524a7;
$custom-light: #cf71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b524a7",
  "rgb": {
    "r": 181,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 305.793,
    "s": 66.82,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54732,
    "c": 0.22206,
    "h": 332.7
  },
  "luminance": 0.13876
}

Semantic roles & 50–950 ramp

primary
#B524A7
secondary
#6BC974
accent
#EA4F3E
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B524A7

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

Preview Lab → · Contrast checker → · Palette generator →

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