#B530A7#B530A7

#B530A7 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.211 H 332.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B530A7
RGBrgb(181, 48, 167)
HSLhsl(306, 58%, 45%)
HSVhsv(306, 73%, 71%)
CMYKcmyk(0%, 73.5%, 7.7%, 29%)
CIE-LABlab(45.26, 64.98, -35.15)
CIE-LCHlch(45.26, 73.88, 331.59°)
OKLaboklab(55.6% 0.1872 -0.0965)
OKLCHoklch(55.6% 0.211 332.7)
XYZxyz(27.0882, 14.7299, 37.9682)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B530A7 #30B53E
analogous
#8130B5 #B530A7 #B53064
triadic
#B530A7 #A7B530 #30A7B5
tetradic
#B530A7 #B58130 #30B53E #3064B5
square
#B530A7 #B58130 #30B53E #3064B5
split-complementary
#B530A7 #64B530 #30B581
monochromatic
#54164E #85237A #B530A7 #D151C3 #DE82D4

Accessibility & contrast

On white

5.32
#B530A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B530A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B530A7
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B530A7#FFFFFF#000000##FFFFFF
##B530A71.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295FAA
Deuteranopia (green-blind)
#5C72A4
Tritanopia (blue-blind)
#BD3E69
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b530a7;
/* rgb */ color: rgb(181, 48, 167);
/* oklch */ color: oklch(55.6% 0.211 332.7);
Tailwind
colors: {
  custom: {
    50: '#cf76c1',
    500: '#b530a7',
    950: '#000000',
  },
}
SCSS
$custom: #b530a7;
$custom-light: #cf76c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b530a7",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 167
  },
  "hsl": {
    "h": 306.316,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55595,
    "c": 0.2106,
    "h": 332.7
  },
  "luminance": 0.14728
}

Semantic roles & 50–950 ramp

primary
#B530A7
secondary
#7AC782
accent
#E15746
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B530A7

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

Preview Lab → · Contrast checker → · Palette generator →

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