#B130B8#B130B8

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

Color values

HEX#B130B8
RGBrgb(177, 48, 184)
HSLhsl(297, 59%, 45%)
HSVhsv(297, 74%, 72%)
CMYKcmyk(3.8%, 73.9%, 0%, 27.8%)
CIE-LABlab(45.53, 66.84, -44.80)
CIE-LCHlch(45.53, 80.47, 326.17°)
OKLaboklab(55.96% 0.1831 -0.1246)
OKLCHoklch(55.96% 0.222 325.8)
XYZxyz(27.8396, 14.9236, 46.7523)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B130B8 #37B830
analogous
#6D30B8 #B130B8 #B8307B
triadic
#B130B8 #B8B130 #30B8B1
tetradic
#B130B8 #B86D30 #37B830 #307BB8
square
#B130B8 #B86D30 #37B830 #307BB8
split-complementary
#B130B8 #7BB830 #30B86D
monochromatic
#541757 #822387 #B130B8 #CC53D2 #DA84DF

Accessibility & contrast

On white

5.27
#B130B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B130B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B130B8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B130B8#FFFFFF#000000##FFFFFF
##B130B81.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BC
Deuteranopia (green-blind)
#4F71B5
Tritanopia (blue-blind)
#B54772
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b130b8;
/* rgb */ color: rgb(177, 48, 184);
/* oklch */ color: oklch(56.0% 0.222 325.8);
Tailwind
colors: {
  custom: {
    50: '#cc76ce',
    500: '#b130b8',
    950: '#000000',
  },
}
SCSS
$custom: #b130b8;
$custom-light: #cc76ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b130b8",
  "rgb": {
    "r": 177,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 296.912,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55959,
    "c": 0.2215,
    "h": 325.8
  },
  "luminance": 0.14922
}

Semantic roles & 50–950 ramp

primary
#B130B8
secondary
#80C87C
accent
#E2464E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B130B8

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

Preview Lab → · Contrast checker → · Palette generator →

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