#B530A9#B530A9

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

Color values

HEX#B530A9
RGBrgb(181, 48, 169)
HSLhsl(305, 58%, 45%)
HSVhsv(305, 73%, 71%)
CMYKcmyk(0%, 73.5%, 6.6%, 29%)
CIE-LABlab(45.37, 65.29, -36.17)
CIE-LCHlch(45.37, 74.64, 331.01°)
OKLaboklab(55.7% 0.1873 -0.0995)
OKLCHoklch(55.7% 0.212 332)
XYZxyz(27.2745, 14.8045, 38.9495)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B530A9 #30B53C
analogous
#7F30B5 #B530A9 #B53066
triadic
#B530A9 #A9B530 #30A9B5
tetradic
#B530A9 #B57F30 #30B53C #3066B5
square
#B530A9 #B57F30 #30B53C #3066B5
split-complementary
#B530A9 #66B530 #30B57F
monochromatic
#54164F #85237C #B530A9 #D151C5 #DE82D5

Accessibility & contrast

On white

5.30
#B530A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B530A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B530A9
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B530A9#FFFFFF#000000##FFFFFF
##B530A91.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275FAC
Deuteranopia (green-blind)
#5B72A6
Tritanopia (blue-blind)
#BD3F6A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b530a9;
/* rgb */ color: rgb(181, 48, 169);
/* oklch */ color: oklch(55.7% 0.212 332.0);
Tailwind
colors: {
  custom: {
    50: '#cf76c3',
    500: '#b530a9',
    950: '#000000',
  },
}
SCSS
$custom: #b530a9;
$custom-light: #cf76c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b530a9",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 169
  },
  "hsl": {
    "h": 305.414,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55703,
    "c": 0.21205,
    "h": 332
  },
  "luminance": 0.14802
}

Semantic roles & 50–950 ramp

primary
#B530A9
secondary
#7AC781
accent
#E15446
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B530A9

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

Preview Lab → · Contrast checker → · Palette generator →

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