#B52FAA#B52FAA

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

Color values

HEX#B52FAA
RGBrgb(181, 47, 170)
HSLhsl(305, 59%, 45%)
HSVhsv(305, 74%, 71%)
CMYKcmyk(0%, 74%, 6.1%, 29%)
CIE-LABlab(45.31, 65.76, -36.86)
CIE-LCHlch(45.31, 75.39, 330.73°)
OKLaboklab(55.68% 0.1882 -0.1015)
OKLCHoklch(55.68% 0.214 331.7)
XYZxyz(27.3283, 14.7613, 39.4323)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52FAA #2FB53A
analogous
#7D2FB5 #B52FAA #B52F67
triadic
#B52FAA #AAB52F #2FAAB5
tetradic
#B52FAA #B57D2F #2FB53A #2F67B5
square
#B52FAA #B57D2F #2FB53A #2F67B5
split-complementary
#B52FAA #67B52F #2FB57D
monochromatic
#54164F #84227C #B52FAA #D150C7 #DE80D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B52FAA#FFFFFF#000000##FFFFFF
##B52FAA1.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)
#245FAD
Deuteranopia (green-blind)
#5A72A7
Tritanopia (blue-blind)
#BD3F6A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b52faa;
/* rgb */ color: rgb(181, 47, 170);
/* oklch */ color: oklch(55.7% 0.214 331.7);
Tailwind
colors: {
  custom: {
    50: '#cf76c4',
    500: '#b52faa',
    950: '#000000',
  },
}
SCSS
$custom: #b52faa;
$custom-light: #cf76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b52faa",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 304.925,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55677,
    "c": 0.21384,
    "h": 331.7
  },
  "luminance": 0.14759
}

Semantic roles & 50–950 ramp

primary
#B52FAA
secondary
#79C77F
accent
#E25346
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B52FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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