#B524BD#B524BD

#B524BD is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 56.0% C 0.238 H 325.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B524BD
RGBrgb(181, 36, 189)
HSLhsl(297, 68%, 44%)
HSVhsv(297, 81%, 74%)
CMYKcmyk(4.2%, 81%, 0%, 25.9%)
CIE-LABlab(45.31, 71.86, -48.05)
CIE-LCHlch(45.31, 86.44, 326.23°)
OKLaboklab(56.02% 0.1966 -0.1339)
OKLCHoklch(56.02% 0.238 325.7)
XYZxyz(28.8716, 14.7616, 49.4629)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B524BD #2CBD24
analogous
#6924BD #B524BD #BD2479
triadic
#B524BD #BDB524 #24BDB5
tetradic
#B524BD #BD6924 #2CBD24 #2479BD
square
#B524BD #BD6924 #2CBD24 #2479BD
split-complementary
#B524BD #79BD24 #24BD69
monochromatic
#531056 #841A8A #B524BD #D343DB #DF76E5

Accessibility & contrast

On white

5.31
#B524BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B524BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B524BD
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B524BD#FFFFFF#000000##FFFFFF
##B524BD1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#B94372
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b524bd;
/* rgb */ color: rgb(181, 36, 189);
/* oklch */ color: oklch(56.0% 0.238 325.7);
Tailwind
colors: {
  custom: {
    50: '#d072d1',
    500: '#b524bd',
    950: '#000000',
  },
}
SCSS
$custom: #b524bd;
$custom-light: #d072d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b524bd",
  "rgb": {
    "r": 181,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 296.863,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56021,
    "c": 0.23784,
    "h": 325.7
  },
  "luminance": 0.1476
}

Semantic roles & 50–950 ramp

primary
#B524BD
secondary
#75CC70
accent
#EB3D46
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B524BD

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

Preview Lab → · Contrast checker → · Palette generator →

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