#B130A8#B130A8

#B130A8 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.209 H 331.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B130A8
RGBrgb(177, 48, 168)
HSLhsl(304, 57%, 44%)
HSVhsv(304, 73%, 69%)
CMYKcmyk(0%, 72.9%, 5.1%, 30.6%)
CIE-LABlab(44.65, 64.23, -36.76)
CIE-LCHlch(44.65, 74.01, 330.22°)
OKLaboklab(55.04% 0.1831 -0.1013)
OKLCHoklch(55.04% 0.209 331.1)
XYZxyz(26.2563, 14.2903, 38.4136)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B130A8 #30B139
analogous
#7A30B1 #B130A8 #B13068
triadic
#B130A8 #A8B130 #30A8B1
tetradic
#B130A8 #B17A30 #30B139 #3068B1
square
#B130A8 #B17A30 #30B139 #3068B1
split-complementary
#B130A8 #68B130 #30B17A
monochromatic
#51164D #81237A #B130A8 #CF4FC6 #DC7FD6

Accessibility & contrast

On white

5.44
#B130A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B130A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B130A8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B130A8#FFFFFF#000000##FFFFFF
##B130A81.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245EAB
Deuteranopia (green-blind)
#5870A5
Tritanopia (blue-blind)
#B84069
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b130a8;
/* rgb */ color: rgb(177, 48, 168);
/* oklch */ color: oklch(55.0% 0.209 331.1);
Tailwind
colors: {
  custom: {
    50: '#cc75c2',
    500: '#b130a8',
    950: '#000000',
  },
}
SCSS
$custom: #b130a8;
$custom-light: #cc75c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b130a8",
  "rgb": {
    "r": 177,
    "g": 48,
    "b": 168
  },
  "hsl": {
    "h": 304.186,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55042,
    "c": 0.20923,
    "h": 331.1
  },
  "luminance": 0.14288
}

Semantic roles & 50–950 ramp

primary
#B130A8
secondary
#78C57D
accent
#E15247
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B130A8

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

Preview Lab → · Contrast checker → · Palette generator →

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