#B130B7#B130B7

#B130B7 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.9% C 0.221 H 326.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B130B7
RGBrgb(177, 48, 183)
HSLhsl(297, 58%, 45%)
HSVhsv(297, 74%, 72%)
CMYKcmyk(3.3%, 73.8%, 0%, 28.2%)
CIE-LABlab(45.47, 66.68, -44.30)
CIE-LCHlch(45.47, 80.05, 326.40°)
OKLaboklab(55.9% 0.1832 -0.1232)
OKLCHoklch(55.9% 0.221 326.1)
XYZxyz(27.7351, 14.8818, 46.2022)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B130B7 #36B730
analogous
#6D30B7 #B130B7 #B7307A
triadic
#B130B7 #B7B130 #30B7B1
tetradic
#B130B7 #B76D30 #36B730 #307AB7
square
#B130B7 #B76D30 #36B730 #307AB7
split-complementary
#B130B7 #7AB730 #30B76D
monochromatic
#531756 #822387 #B130B7 #CC52D2 #DA83DE

Accessibility & contrast

On white

5.28
#B130B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B130B7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B130B7#FFFFFF#000000##FFFFFF
##B130B71.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0361BB
Deuteranopia (green-blind)
#4F71B4
Tritanopia (blue-blind)
#B64771
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b130b7;
/* rgb */ color: rgb(177, 48, 183);
/* oklch */ color: oklch(55.9% 0.221 326.1);
Tailwind
colors: {
  custom: {
    50: '#cc76cd',
    500: '#b130b7',
    950: '#000000',
  },
}
SCSS
$custom: #b130b7;
$custom-light: #cc76cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b130b7",
  "rgb": {
    "r": 177,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 297.333,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55899,
    "c": 0.22071,
    "h": 326.1
  },
  "luminance": 0.1488
}

Semantic roles & 50–950 ramp

primary
#B130B7
secondary
#7FC87B
accent
#E2464D
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B130B7

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

Preview Lab → · Contrast checker → · Palette generator →

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