#B530A5#B530A5

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

Color values

HEX#B530A5
RGBrgb(181, 48, 165)
HSLhsl(307, 58%, 45%)
HSVhsv(307, 73%, 71%)
CMYKcmyk(0%, 73.5%, 8.8%, 29%)
CIE-LABlab(45.16, 64.68, -34.12)
CIE-LCHlch(45.16, 73.12, 332.19°)
OKLaboklab(55.49% 0.1871 -0.0936)
OKLCHoklch(55.49% 0.209 333.4)
XYZxyz(26.9047, 14.6566, 37.0020)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B530A5 #30B540
analogous
#8330B5 #B530A5 #B53063
triadic
#B530A5 #A5B530 #30A5B5
tetradic
#B530A5 #B58330 #30B540 #3063B5
square
#B530A5 #B58330 #30B540 #3063B5
split-complementary
#B530A5 #63B530 #30B583
monochromatic
#54164D #852379 #B530A5 #D151C2 #DE82D3

Accessibility & contrast

On white

5.34
#B530A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B530A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B530A5
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B530A5#FFFFFF#000000##FFFFFF
##B530A51.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5FA8
Deuteranopia (green-blind)
#5D72A2
Tritanopia (blue-blind)
#BD3D67
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b530a5;
/* rgb */ color: rgb(181, 48, 165);
/* oklch */ color: oklch(55.5% 0.209 333.4);
Tailwind
colors: {
  custom: {
    50: '#cf76c0',
    500: '#b530a5',
    950: '#000000',
  },
}
SCSS
$custom: #b530a5;
$custom-light: #cf76c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b530a5",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 307.218,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55489,
    "c": 0.20915,
    "h": 333.4
  },
  "luminance": 0.14654
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B530A5

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

Preview Lab → · Contrast checker → · Palette generator →

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