#B130A2#B130A2

#B130A2 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.7% C 0.205 H 333.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B130A2
RGBrgb(177, 48, 162)
HSLhsl(307, 57%, 44%)
HSVhsv(307, 73%, 69%)
CMYKcmyk(0%, 72.9%, 8.5%, 30.6%)
CIE-LABlab(44.34, 63.30, -33.67)
CIE-LCHlch(44.34, 71.70, 331.99°)
OKLaboklab(54.72% 0.1828 -0.0924)
OKLCHoklch(54.72% 0.205 333.2)
XYZxyz(25.7102, 14.0718, 35.5375)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B130A2 #30B13F
analogous
#8030B1 #B130A2 #B13062
triadic
#B130A2 #A2B130 #30A2B1
tetradic
#B130A2 #B18030 #30B13F #3062B1
square
#B130A2 #B18030 #30B13F #3062B1
split-complementary
#B130A2 #62B130 #30B180
monochromatic
#51164A #812376 #B130A2 #CF4FC0 #DC7FD1

Accessibility & contrast

On white

5.51
#B130A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B130A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B130A2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B130A2#FFFFFF#000000##FFFFFF
##B130A21.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5DA5
Deuteranopia (green-blind)
#5B6F9F
Tritanopia (blue-blind)
#B93D66
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b130a2;
/* rgb */ color: rgb(177, 48, 162);
/* oklch */ color: oklch(54.7% 0.205 333.2);
Tailwind
colors: {
  custom: {
    50: '#cc75be',
    500: '#b130a2',
    950: '#000000',
  },
}
SCSS
$custom: #b130a2;
$custom-light: #cc75be;
$custom-dark: #000000;
JSON
{
  "hex": "#b130a2",
  "rgb": {
    "r": 177,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 306.977,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54718,
    "c": 0.20481,
    "h": 333.2
  },
  "luminance": 0.1407
}

Semantic roles & 50–950 ramp

primary
#B130A2
secondary
#78C581
accent
#E15947
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B130A2

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

Preview Lab → · Contrast checker → · Palette generator →

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