#B130A5#B130A5

#B130A5 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.207 H 332.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B130A5
RGBrgb(177, 48, 165)
HSLhsl(306, 57%, 44%)
HSVhsv(306, 73%, 69%)
CMYKcmyk(0%, 72.9%, 6.8%, 30.6%)
CIE-LABlab(44.49, 63.76, -35.22)
CIE-LCHlch(44.49, 72.84, 331.08°)
OKLaboklab(54.88% 0.183 -0.0968)
OKLCHoklch(54.88% 0.207 332.1)
XYZxyz(25.9800, 14.1798, 36.9587)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B130A5 #30B13C
analogous
#7D30B1 #B130A5 #B13065
triadic
#B130A5 #A5B130 #30A5B1
tetradic
#B130A5 #B17D30 #30B13C #3065B1
square
#B130A5 #B17D30 #30B13C #3065B1
split-complementary
#B130A5 #65B130 #30B17D
monochromatic
#51164B #812378 #B130A5 #CF4FC3 #DC7FD4

Accessibility & contrast

On white

5.48
#B130A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B130A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B130A5
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B130A5#FFFFFF#000000##FFFFFF
##B130A51.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285EA8
Deuteranopia (green-blind)
#5A70A2
Tritanopia (blue-blind)
#B93E67
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b130a5;
/* rgb */ color: rgb(177, 48, 165);
/* oklch */ color: oklch(54.9% 0.207 332.1);
Tailwind
colors: {
  custom: {
    50: '#cc75c0',
    500: '#b130a5',
    950: '#000000',
  },
}
SCSS
$custom: #b130a5;
$custom-light: #cc75c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b130a5",
  "rgb": {
    "r": 177,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 305.581,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54879,
    "c": 0.20701,
    "h": 332.1
  },
  "luminance": 0.14178
}

Semantic roles & 50–950 ramp

primary
#B130A5
secondary
#78C57F
accent
#E15547
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B130A5

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

Preview Lab → · Contrast checker → · Palette generator →

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