#B530A6#B530A6

#B530A6 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.5% C 0.210 H 333.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B530A6
RGBrgb(181, 48, 166)
HSLhsl(307, 58%, 45%)
HSVhsv(307, 73%, 71%)
CMYKcmyk(0%, 73.5%, 8.3%, 29%)
CIE-LABlab(45.21, 64.83, -34.63)
CIE-LCHlch(45.21, 73.50, 331.89°)
OKLaboklab(55.54% 0.1871 -0.095)
OKLCHoklch(55.54% 0.21 333.1)
XYZxyz(26.9961, 14.6931, 37.4832)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B530A6 #30B53F
analogous
#8230B5 #B530A6 #B53063
triadic
#B530A6 #A6B530 #30A6B5
tetradic
#B530A6 #B58230 #30B53F #3063B5
square
#B530A6 #B58230 #30B53F #3063B5
split-complementary
#B530A6 #63B530 #30B582
monochromatic
#54164D #85237A #B530A6 #D151C3 #DE82D3

Accessibility & contrast

On white

5.33
#B530A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B530A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B530A6
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B530A6#FFFFFF#000000##FFFFFF
##B530A61.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5FA9
Deuteranopia (green-blind)
#5D72A3
Tritanopia (blue-blind)
#BD3E68
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b530a6;
/* rgb */ color: rgb(181, 48, 166);
/* oklch */ color: oklch(55.5% 0.210 333.1);
Tailwind
colors: {
  custom: {
    50: '#cf76c1',
    500: '#b530a6',
    950: '#000000',
  },
}
SCSS
$custom: #b530a6;
$custom-light: #cf76c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b530a6",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 166
  },
  "hsl": {
    "h": 306.767,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55542,
    "c": 0.20987,
    "h": 333.1
  },
  "luminance": 0.14691
}

Semantic roles & 50–950 ramp

primary
#B530A6
secondary
#7AC783
accent
#E15846
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B530A6

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

Preview Lab → · Contrast checker → · Palette generator →

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