#B521BD#B521BD

#B521BD is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.9% C 0.240 H 325.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B521BD
RGBrgb(181, 33, 189)
HSLhsl(297, 70%, 44%)
HSVhsv(297, 83%, 74%)
CMYKcmyk(4.2%, 82.5%, 0%, 25.9%)
CIE-LABlab(45.06, 72.56, -48.43)
CIE-LCHlch(45.06, 87.24, 326.28°)
OKLaboklab(55.85% 0.1985 -0.135)
OKLCHoklch(55.85% 0.24 325.8)
XYZxyz(28.7846, 14.5876, 49.4338)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B521BD #29BD21
analogous
#6721BD #B521BD #BD2177
triadic
#B521BD #BDB521 #21BDB5
tetradic
#B521BD #BD6721 #29BD21 #2177BD
square
#B521BD #BD6721 #29BD21 #2177BD
split-complementary
#B521BD #77BD21 #21BD67
monochromatic
#510F55 #831889 #B521BD #D53EDD #E072E6

Accessibility & contrast

On white

5.36
#B521BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B521BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B521BD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B521BD#FFFFFF#000000##FFFFFF
##B521BD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#4971BA
Tritanopia (blue-blind)
#B94172
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b521bd;
/* rgb */ color: rgb(181, 33, 189);
/* oklch */ color: oklch(55.9% 0.240 325.8);
Tailwind
colors: {
  custom: {
    50: '#d071d1',
    500: '#b521bd',
    950: '#000000',
  },
}
SCSS
$custom: #b521bd;
$custom-light: #d071d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b521bd",
  "rgb": {
    "r": 181,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 296.923,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5585,
    "c": 0.24009,
    "h": 325.8
  },
  "luminance": 0.14586
}

Semantic roles & 50–950 ramp

primary
#B521BD
secondary
#72CD6D
accent
#ED3B44
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B521BD

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

Preview Lab → · Contrast checker → · Palette generator →

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