#B134B9#B134B9

#B134B9 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.218 H 325.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B134B9
RGBrgb(177, 52, 185)
HSLhsl(296, 56%, 46%)
HSVhsv(296, 72%, 73%)
CMYKcmyk(4.3%, 71.9%, 0%, 27.5%)
CIE-LABlab(46.05, 65.68, -44.55)
CIE-LCHlch(46.05, 79.37, 325.85°)
OKLaboklab(56.35% 0.1794 -0.1239)
OKLCHoklch(56.35% 0.218 325.4)
XYZxyz(28.1158, 15.3077, 47.3633)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B134B9 #3CB934
analogous
#6F34B9 #B134B9 #B9347F
triadic
#B134B9 #B9B134 #34B9B1
tetradic
#B134B9 #B96F34 #3CB934 #347FB9
square
#B134B9 #B96F34 #3CB934 #347FB9
split-complementary
#B134B9 #7FB934 #34B96F
monochromatic
#561959 #832789 #B134B9 #C95AD1 #D989DE

Accessibility & contrast

On white

5.17
#B134B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B134B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B134B9
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B134B9#FFFFFF#000000##FFFFFF
##B134B91.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C63BD
Deuteranopia (green-blind)
#5072B6
Tritanopia (blue-blind)
#B54A74
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b134b9;
/* rgb */ color: rgb(177, 52, 185);
/* oklch */ color: oklch(56.4% 0.218 325.4);
Tailwind
colors: {
  custom: {
    50: '#cc78ce',
    500: '#b134b9',
    950: '#000000',
  },
}
SCSS
$custom: #b134b9;
$custom-light: #cc78ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b134b9",
  "rgb": {
    "r": 177,
    "g": 52,
    "b": 185
  },
  "hsl": {
    "h": 296.391,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56351,
    "c": 0.21802,
    "h": 325.4
  },
  "luminance": 0.15306
}

Semantic roles & 50–950 ramp

primary
#B134B9
secondary
#85C881
accent
#DF4851
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B134B9

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

Preview Lab → · Contrast checker → · Palette generator →

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