#B530AC#B530AC

#B530AC is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.9% C 0.214 H 331.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B530AC
RGBrgb(181, 48, 172)
HSLhsl(304, 58%, 45%)
HSVhsv(304, 73%, 71%)
CMYKcmyk(0%, 73.5%, 5%, 29%)
CIE-LABlab(45.52, 65.76, -37.70)
CIE-LCHlch(45.52, 75.80, 330.17°)
OKLaboklab(55.87% 0.1874 -0.1039)
OKLCHoklch(55.87% 0.214 331)
XYZxyz(27.5594, 14.9184, 40.4498)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B530AC #30B539
analogous
#7B30B5 #B530AC #B5306A
triadic
#B530AC #ACB530 #30ACB5
tetradic
#B530AC #B57B30 #30B539 #306AB5
square
#B530AC #B57B30 #30B539 #306AB5
split-complementary
#B530AC #6AB530 #30B57B
monochromatic
#541650 #85237E #B530AC #D151C8 #DE82D8

Accessibility & contrast

On white

5.27
#B530AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B530AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B530AC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B530AC#FFFFFF#000000##FFFFFF
##B530AC1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2360AF
Deuteranopia (green-blind)
#5A72A9
Tritanopia (blue-blind)
#BC416B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b530ac;
/* rgb */ color: rgb(181, 48, 172);
/* oklch */ color: oklch(55.9% 0.214 331.0);
Tailwind
colors: {
  custom: {
    50: '#cf76c5',
    500: '#b530ac',
    950: '#000000',
  },
}
SCSS
$custom: #b530ac;
$custom-light: #cf76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b530ac",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 304.06,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55867,
    "c": 0.21427,
    "h": 331
  },
  "luminance": 0.14916
}

Semantic roles & 50–950 ramp

primary
#B530AC
secondary
#7AC77F
accent
#E15146
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B530AC

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

Preview Lab → · Contrast checker → · Palette generator →

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