#B52AA3#B52AA3

#B52AA3 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.214 H 334.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B52AA3
RGBrgb(181, 42, 163)
HSLhsl(308, 62%, 44%)
HSVhsv(308, 77%, 71%)
CMYKcmyk(0%, 76.8%, 9.9%, 29%)
CIE-LABlab(44.41, 66.22, -34.10)
CIE-LCHlch(44.41, 74.48, 332.75°)
OKLaboklab(54.92% 0.1924 -0.0935)
OKLCHoklch(54.92% 0.214 334.1)
XYZxyz(26.4951, 14.1264, 35.9745)
Luminance0.1412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52AA3 #2AB53C
analogous
#812AB5 #B52AA3 #B52A5D
triadic
#B52AA3 #A3B52A #2AA3B5
tetradic
#B52AA3 #B5812A #2AB53C #2A5DB5
square
#B52AA3 #B5812A #2AB53C #2A5DB5
split-complementary
#B52AA3 #5DB52A #2AB581
monochromatic
#52134A #831E76 #B52AA3 #D448C2 #E079D3

Accessibility & contrast

On white

5.49
#B52AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B52AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52AA3
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52AA3#FFFFFF#000000##FFFFFF
##B52AA31.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265CA6
Deuteranopia (green-blind)
#5C70A0
Tritanopia (blue-blind)
#BE3865
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b52aa3;
/* rgb */ color: rgb(181, 42, 163);
/* oklch */ color: oklch(54.9% 0.214 334.1);
Tailwind
colors: {
  custom: {
    50: '#cf73be',
    500: '#b52aa3',
    950: '#000000',
  },
}
SCSS
$custom: #b52aa3;
$custom-light: #cf73be;
$custom-dark: #000000;
JSON
{
  "hex": "#b52aa3",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 307.77,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5492,
    "c": 0.21387,
    "h": 334.1
  },
  "luminance": 0.14124
}

Semantic roles & 50–950 ramp

primary
#B52AA3
secondary
#73C87E
accent
#E55842
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B52AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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