#B530A4#B530A4

#B530A4 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.208 H 333.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B530A4
RGBrgb(181, 48, 164)
HSLhsl(308, 58%, 45%)
HSVhsv(308, 73%, 71%)
CMYKcmyk(0%, 73.5%, 9.4%, 29%)
CIE-LABlab(45.11, 64.52, -33.60)
CIE-LCHlch(45.11, 72.75, 332.49°)
OKLaboklab(55.44% 0.187 -0.0921)
OKLCHoklch(55.44% 0.208 333.8)
XYZxyz(26.8141, 14.6203, 36.5245)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B530A4 #30B541
analogous
#8330B5 #B530A4 #B53062
triadic
#B530A4 #A4B530 #30A4B5
tetradic
#B530A4 #B58330 #30B541 #3062B5
square
#B530A4 #B58330 #30B541 #3062B5
split-complementary
#B530A4 #62B530 #30B583
monochromatic
#54164C #852378 #B530A4 #D151C1 #DE82D2

Accessibility & contrast

On white

5.35
#B530A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B530A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B530A4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B530A4#FFFFFF#000000##FFFFFF
##B530A41.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b530a4;
/* rgb */ color: rgb(181, 48, 164);
/* oklch */ color: oklch(55.4% 0.208 333.8);
Tailwind
colors: {
  custom: {
    50: '#cf76bf',
    500: '#b530a4',
    950: '#000000',
  },
}
SCSS
$custom: #b530a4;
$custom-light: #cf76bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b530a4",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 307.669,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55436,
    "c": 0.20843,
    "h": 333.8
  },
  "luminance": 0.14618
}

Semantic roles & 50–950 ramp

primary
#B530A4
secondary
#7AC784
accent
#E15A46
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B530A4

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

Preview Lab → · Contrast checker → · Palette generator →

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