#B130A7#B130A7

#B130A7 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.208 H 331.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B130A7
RGBrgb(177, 48, 167)
HSLhsl(305, 57%, 44%)
HSVhsv(305, 73%, 69%)
CMYKcmyk(0%, 72.9%, 5.6%, 30.6%)
CIE-LABlab(44.59, 64.07, -36.25)
CIE-LCHlch(44.59, 73.62, 330.50°)
OKLaboklab(54.99% 0.1831 -0.0998)
OKLCHoklch(54.99% 0.208 331.4)
XYZxyz(26.1635, 14.2531, 37.9249)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B130A7 #30B13A
analogous
#7B30B1 #B130A7 #B13067
triadic
#B130A7 #A7B130 #30A7B1
tetradic
#B130A7 #B17B30 #30B13A #3067B1
square
#B130A7 #B17B30 #30B13A #3067B1
split-complementary
#B130A7 #67B130 #30B17B
monochromatic
#51164C #81237A #B130A7 #CF4FC5 #DC7FD5

Accessibility & contrast

On white

5.45
#B130A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B130A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B130A7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B130A7#FFFFFF#000000##FFFFFF
##B130A71.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255EAA
Deuteranopia (green-blind)
#5970A4
Tritanopia (blue-blind)
#B83F69
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b130a7;
/* rgb */ color: rgb(177, 48, 167);
/* oklch */ color: oklch(55.0% 0.208 331.4);
Tailwind
colors: {
  custom: {
    50: '#cc75c1',
    500: '#b130a7',
    950: '#000000',
  },
}
SCSS
$custom: #b130a7;
$custom-light: #cc75c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b130a7",
  "rgb": {
    "r": 177,
    "g": 48,
    "b": 167
  },
  "hsl": {
    "h": 304.651,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54987,
    "c": 0.20849,
    "h": 331.4
  },
  "luminance": 0.14251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B130A7

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

Preview Lab → · Contrast checker → · Palette generator →

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