#B130B4#B130B4

#B130B4 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.218 H 327.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B130B4
RGBrgb(177, 48, 180)
HSLhsl(299, 58%, 45%)
HSVhsv(299, 73%, 71%)
CMYKcmyk(1.7%, 73.3%, 0%, 29.4%)
CIE-LABlab(45.30, 66.17, -42.81)
CIE-LCHlch(45.30, 78.82, 327.10°)
OKLaboklab(55.72% 0.1832 -0.1188)
OKLCHoklch(55.72% 0.218 327)
XYZxyz(27.4262, 14.7582, 44.5752)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B130B4 #33B430
analogous
#6F30B4 #B130B4 #B43075
triadic
#B130B4 #B4B130 #30B4B1
tetradic
#B130B4 #B46F30 #33B430 #3075B4
square
#B130B4 #B46F30 #33B430 #3075B4
split-complementary
#B130B4 #75B430 #30B46F
monochromatic
#521653 #812384 #B130B4 #CE51D1 #DB81DD

Accessibility & contrast

On white

5.31
#B130B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B130B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B130B4
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B130B4#FFFFFF#000000##FFFFFF
##B130B41.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E61B8
Deuteranopia (green-blind)
#5171B1
Tritanopia (blue-blind)
#B64670
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b130b4;
/* rgb */ color: rgb(177, 48, 180);
/* oklch */ color: oklch(55.7% 0.218 327.0);
Tailwind
colors: {
  custom: {
    50: '#cc76cb',
    500: '#b130b4',
    950: '#000000',
  },
}
SCSS
$custom: #b130b4;
$custom-light: #cc76cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b130b4",
  "rgb": {
    "r": 177,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 298.636,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55723,
    "c": 0.21838,
    "h": 327
  },
  "luminance": 0.14756
}

Semantic roles & 50–950 ramp

primary
#B130B4
secondary
#7BC679
accent
#E1474A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B130B4

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

Preview Lab → · Contrast checker → · Palette generator →

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