#B522BD#B522BD

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

Color values

HEX#B522BD
RGBrgb(181, 34, 189)
HSLhsl(297, 70%, 44%)
HSVhsv(297, 82%, 74%)
CMYKcmyk(4.2%, 82%, 0%, 25.9%)
CIE-LABlab(45.14, 72.34, -48.31)
CIE-LCHlch(45.14, 86.98, 326.26°)
OKLaboklab(55.91% 0.1979 -0.1346)
OKLCHoklch(55.91% 0.239 325.8)
XYZxyz(28.8128, 14.6440, 49.4432)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B522BD #2ABD22
analogous
#6722BD #B522BD #BD2277
triadic
#B522BD #BDB522 #22BDB5
tetradic
#B522BD #BD6722 #2ABD22 #2277BD
square
#B522BD #BD6722 #2ABD22 #2277BD
split-complementary
#B522BD #77BD22 #22BD67
monochromatic
#520F55 #831989 #B522BD #D440DD #E073E6

Accessibility & contrast

On white

5.35
#B522BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B522BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B522BD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B522BD#FFFFFF#000000##FFFFFF
##B522BD1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#4971BA
Tritanopia (blue-blind)
#B94272
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b522bd;
/* rgb */ color: rgb(181, 34, 189);
/* oklch */ color: oklch(55.9% 0.239 325.8);
Tailwind
colors: {
  custom: {
    50: '#d072d1',
    500: '#b522bd',
    950: '#000000',
  },
}
SCSS
$custom: #b522bd;
$custom-light: #d072d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b522bd",
  "rgb": {
    "r": 181,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 296.903,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55906,
    "c": 0.23935,
    "h": 325.8
  },
  "luminance": 0.14642
}

Semantic roles & 50–950 ramp

primary
#B522BD
secondary
#73CD6E
accent
#EC3B45
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B522BD

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

Preview Lab → · Contrast checker → · Palette generator →

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