#B52FA0#B52FA0

#B52FA0 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.207 H 335.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B52FA0
RGBrgb(181, 47, 160)
HSLhsl(309, 59%, 45%)
HSVhsv(309, 74%, 71%)
CMYKcmyk(0%, 74%, 11.6%, 29%)
CIE-LABlab(44.80, 64.25, -31.71)
CIE-LCHlch(44.80, 71.65, 333.73°)
OKLaboklab(55.15% 0.1876 -0.0866)
OKLCHoklch(55.15% 0.207 335.2)
XYZxyz(26.4181, 14.3972, 34.6385)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52FA0 #2FB544
analogous
#872FB5 #B52FA0 #B52F5D
triadic
#B52FA0 #A0B52F #2FA0B5
tetradic
#B52FA0 #B5872F #2FB544 #2F5DB5
square
#B52FA0 #B5872F #2FB544 #2F5DB5
split-complementary
#B52FA0 #5DB52F #2FB587
monochromatic
#54164A #842275 #B52FA0 #D150BD #DE80CF

Accessibility & contrast

On white

5.41
#B52FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B52FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52FA0
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52FA0#FFFFFF#000000##FFFFFF
##B52FA01.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5DA3
Deuteranopia (green-blind)
#5F719D
Tritanopia (blue-blind)
#BE3A64
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b52fa0;
/* rgb */ color: rgb(181, 47, 160);
/* oklch */ color: oklch(55.1% 0.207 335.2);
Tailwind
colors: {
  custom: {
    50: '#cf75bc',
    500: '#b52fa0',
    950: '#000000',
  },
}
SCSS
$custom: #b52fa0;
$custom-light: #cf75bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b52fa0",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 309.403,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55147,
    "c": 0.20667,
    "h": 335.2
  },
  "luminance": 0.14395
}

Semantic roles & 50–950 ramp

primary
#B52FA0
secondary
#79C785
accent
#E25E46
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B52FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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