#B134B7#B134B7

#B134B7 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.216 H 326.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B134B7
RGBrgb(177, 52, 183)
HSLhsl(297, 56%, 46%)
HSVhsv(297, 72%, 72%)
CMYKcmyk(3.3%, 71.6%, 0%, 28.2%)
CIE-LABlab(45.94, 65.34, -43.56)
CIE-LCHlch(45.94, 78.53, 326.31°)
OKLaboklab(56.23% 0.1794 -0.121)
OKLCHoklch(56.23% 0.216 326)
XYZxyz(27.9061, 15.2238, 46.2592)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B134B7 #3AB734
analogous
#6F34B7 #B134B7 #B7347B
triadic
#B134B7 #B7B134 #34B7B1
tetradic
#B134B7 #B76F34 #3AB734 #347BB7
square
#B134B7 #B76F34 #3AB734 #347BB7
split-complementary
#B134B7 #7BB734 #34B76F
monochromatic
#551958 #832687 #B134B7 #CA59D0 #D988DD

Accessibility & contrast

On white

5.19
#B134B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B134B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B134B7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B134B7#FFFFFF#000000##FFFFFF
##B134B71.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1263BB
Deuteranopia (green-blind)
#5172B4
Tritanopia (blue-blind)
#B54972
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b134b7;
/* rgb */ color: rgb(177, 52, 183);
/* oklch */ color: oklch(56.2% 0.216 326.0);
Tailwind
colors: {
  custom: {
    50: '#cc78cd',
    500: '#b134b7',
    950: '#000000',
  },
}
SCSS
$custom: #b134b7;
$custom-light: #cc78cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b134b7",
  "rgb": {
    "r": 177,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 297.252,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56234,
    "c": 0.21643,
    "h": 326
  },
  "luminance": 0.15222
}

Semantic roles & 50–950 ramp

primary
#B134B7
secondary
#83C780
accent
#DF4950
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B134B7

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

Preview Lab → · Contrast checker → · Palette generator →

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