#B130B6#B130B6

#B130B6 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.8% C 0.220 H 326.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B130B6
RGBrgb(177, 48, 182)
HSLhsl(298, 58%, 45%)
HSVhsv(298, 74%, 71%)
CMYKcmyk(2.7%, 73.6%, 0%, 28.6%)
CIE-LABlab(45.41, 66.51, -43.81)
CIE-LCHlch(45.41, 79.64, 326.63°)
OKLaboklab(55.84% 0.1832 -0.1217)
OKLCHoklch(55.84% 0.22 326.4)
XYZxyz(27.6314, 14.8403, 45.6560)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B130B6 #35B630
analogous
#6E30B6 #B130B6 #B63078
triadic
#B130B6 #B6B130 #30B6B1
tetradic
#B130B6 #B66E30 #35B630 #3078B6
square
#B130B6 #B66E30 #35B630 #3078B6
split-complementary
#B130B6 #78B630 #30B66E
monochromatic
#531655 #822386 #B130B6 #CD52D1 #DB82DE

Accessibility & contrast

On white

5.29
#B130B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B130B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B130B6
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B130B6#FFFFFF#000000##FFFFFF
##B130B61.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0761BA
Deuteranopia (green-blind)
#5071B3
Tritanopia (blue-blind)
#B64671
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b130b6;
/* rgb */ color: rgb(177, 48, 182);
/* oklch */ color: oklch(55.8% 0.220 326.4);
Tailwind
colors: {
  custom: {
    50: '#cc76cc',
    500: '#b130b6',
    950: '#000000',
  },
}
SCSS
$custom: #b130b6;
$custom-light: #cc76cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b130b6",
  "rgb": {
    "r": 177,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 297.761,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5584,
    "c": 0.21993,
    "h": 326.4
  },
  "luminance": 0.14838
}

Semantic roles & 50–950 ramp

primary
#B130B6
secondary
#7DC77B
accent
#E1464C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B130B6

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

Preview Lab → · Contrast checker → · Palette generator →

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