#B130B9#B130B9

#B130B9 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.222 H 325.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B130B9
RGBrgb(177, 48, 185)
HSLhsl(296, 59%, 46%)
HSVhsv(296, 74%, 73%)
CMYKcmyk(4.3%, 74.1%, 0%, 27.5%)
CIE-LABlab(45.59, 67.01, -45.29)
CIE-LCHlch(45.59, 80.88, 325.95°)
OKLaboklab(56.02% 0.1831 -0.126)
OKLCHoklch(56.02% 0.222 325.5)
XYZxyz(27.9447, 14.9656, 47.3063)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B130B9 #38B930
analogous
#6C30B9 #B130B9 #B9307D
triadic
#B130B9 #B9B130 #30B9B1
tetradic
#B130B9 #B96C30 #38B930 #307DB9
square
#B130B9 #B96C30 #38B930 #307DB9
split-complementary
#B130B9 #7DB930 #30B96C
monochromatic
#541758 #832388 #B130B9 #CB54D3 #DA84DF

Accessibility & contrast

On white

5.26
#B130B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B130B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B130B9
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B130B9#FFFFFF#000000##FFFFFF
##B130B91.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BD
Deuteranopia (green-blind)
#4E71B6
Tritanopia (blue-blind)
#B54873
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b130b9;
/* rgb */ color: rgb(177, 48, 185);
/* oklch */ color: oklch(56.0% 0.222 325.5);
Tailwind
colors: {
  custom: {
    50: '#cc76ce',
    500: '#b130b9',
    950: '#000000',
  },
}
SCSS
$custom: #b130b9;
$custom-light: #cc76ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b130b9",
  "rgb": {
    "r": 177,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 296.496,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56019,
    "c": 0.22228,
    "h": 325.5
  },
  "luminance": 0.14964
}

Semantic roles & 50–950 ramp

primary
#B130B9
secondary
#81C97C
accent
#E2464F
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B130B9

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

Preview Lab → · Contrast checker → · Palette generator →

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