#B52BBA#B52BBA

#B52BBA is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.3% C 0.230 H 326.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B52BBA
RGBrgb(181, 43, 186)
HSLhsl(298, 62%, 45%)
HSVhsv(298, 77%, 73%)
CMYKcmyk(2.7%, 76.9%, 0%, 27.1%)
CIE-LABlab(45.77, 69.52, -45.55)
CIE-LCHlch(45.77, 83.11, 326.77°)
OKLaboklab(56.29% 0.1916 -0.1267)
OKLCHoklch(56.29% 0.23 326.5)
XYZxyz(28.7823, 15.0987, 47.8432)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52BBA #30BA2B
analogous
#6D2BBA #B52BBA #BA2B78
triadic
#B52BBA #BAB52B #2BBAB5
tetradic
#B52BBA #BA6D2B #30BA2B #2B78BA
square
#B52BBA #BA6D2B #30BA2B #2B78BA
split-complementary
#B52BBA #78BA2B #2BBA6D
monochromatic
#541457 #852088 #B52BBA #D14CD6 #DE7EE1

Accessibility & contrast

On white

5.22
#B52BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B52BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52BBA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52BBA#FFFFFF#000000##FFFFFF
##B52BBA1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#4F72B7
Tritanopia (blue-blind)
#BA4572
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b52bba;
/* rgb */ color: rgb(181, 43, 186);
/* oklch */ color: oklch(56.3% 0.230 326.5);
Tailwind
colors: {
  custom: {
    50: '#cf75cf',
    500: '#b52bba',
    950: '#000000',
  },
}
SCSS
$custom: #b52bba;
$custom-light: #cf75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b52bba",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 186
  },
  "hsl": {
    "h": 297.902,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56293,
    "c": 0.22967,
    "h": 326.5
  },
  "luminance": 0.15097
}

Semantic roles & 50–950 ramp

primary
#B52BBA
secondary
#7ACA77
accent
#E64248
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B52BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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