#B530A1#B530A1

#B530A1 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.206 H 334.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B530A1
RGBrgb(181, 48, 161)
HSLhsl(309, 58%, 45%)
HSVhsv(309, 73%, 71%)
CMYKcmyk(0%, 73.5%, 11%, 29%)
CIE-LABlab(44.96, 64.07, -32.05)
CIE-LCHlch(44.96, 71.64, 333.43°)
OKLaboklab(55.28% 0.1868 -0.0876)
OKLCHoklch(55.28% 0.206 334.9)
XYZxyz(26.5463, 14.5132, 35.1145)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B530A1 #30B544
analogous
#8730B5 #B530A1 #B5305E
triadic
#B530A1 #A1B530 #30A1B5
tetradic
#B530A1 #B58730 #30B544 #305EB5
square
#B530A1 #B58730 #30B544 #305EB5
split-complementary
#B530A1 #5EB530 #30B587
monochromatic
#54164B #852376 #B530A1 #D151BE #DE82D0

Accessibility & contrast

On white

5.38
#B530A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B530A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B530A1
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B530A1#FFFFFF#000000##FFFFFF
##B530A11.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA4
Deuteranopia (green-blind)
#5F719E
Tritanopia (blue-blind)
#BE3B65
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b530a1;
/* rgb */ color: rgb(181, 48, 161);
/* oklch */ color: oklch(55.3% 0.206 334.9);
Tailwind
colors: {
  custom: {
    50: '#cf76bd',
    500: '#b530a1',
    950: '#000000',
  },
}
SCSS
$custom: #b530a1;
$custom-light: #cf76bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b530a1",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 161
  },
  "hsl": {
    "h": 309.023,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5528,
    "c": 0.2063,
    "h": 334.9
  },
  "luminance": 0.14511
}

Semantic roles & 50–950 ramp

primary
#B530A1
secondary
#7AC786
accent
#E15E46
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B530A1

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

Preview Lab → · Contrast checker → · Palette generator →

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