#B130A6#B130A6

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

Color values

HEX#B130A6
RGBrgb(177, 48, 166)
HSLhsl(305, 57%, 44%)
HSVhsv(305, 73%, 69%)
CMYKcmyk(0%, 72.9%, 6.2%, 30.6%)
CIE-LABlab(44.54, 63.92, -35.73)
CIE-LCHlch(44.54, 73.23, 330.79°)
OKLaboklab(54.93% 0.183 -0.0983)
OKLCHoklch(54.93% 0.208 331.8)
XYZxyz(26.0714, 14.2163, 37.4399)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B130A6 #30B13B
analogous
#7C30B1 #B130A6 #B13066
triadic
#B130A6 #A6B130 #30A6B1
tetradic
#B130A6 #B17C30 #30B13B #3066B1
square
#B130A6 #B17C30 #30B13B #3066B1
split-complementary
#B130A6 #66B130 #30B17C
monochromatic
#51164C #812379 #B130A6 #CF4FC4 #DC7FD4

Accessibility & contrast

On white

5.46
#B130A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B130A6
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B130A6#FFFFFF#000000##FFFFFF
##B130A61.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275EA9
Deuteranopia (green-blind)
#5970A3
Tritanopia (blue-blind)
#B83F68
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b130a6;
/* rgb */ color: rgb(177, 48, 166);
/* oklch */ color: oklch(54.9% 0.208 331.8);
Tailwind
colors: {
  custom: {
    50: '#cc75c1',
    500: '#b130a6',
    950: '#000000',
  },
}
SCSS
$custom: #b130a6;
$custom-light: #cc75c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b130a6",
  "rgb": {
    "r": 177,
    "g": 48,
    "b": 166
  },
  "hsl": {
    "h": 305.116,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54933,
    "c": 0.20775,
    "h": 331.8
  },
  "luminance": 0.14214
}

Semantic roles & 50–950 ramp

primary
#B130A6
secondary
#78C57E
accent
#E15447
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B130A6

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

Preview Lab → · Contrast checker → · Palette generator →

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