#B134B5#B134B5

#B134B5 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.215 H 326.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B134B5
RGBrgb(177, 52, 181)
HSLhsl(298, 55%, 46%)
HSVhsv(298, 71%, 71%)
CMYKcmyk(2.2%, 71.3%, 0%, 29%)
CIE-LABlab(45.83, 65.00, -42.57)
CIE-LCHlch(45.83, 77.70, 326.78°)
OKLaboklab(56.12% 0.1795 -0.1181)
OKLCHoklch(56.12% 0.215 326.6)
XYZxyz(27.6995, 15.1412, 45.1707)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B134B5 #38B534
analogous
#7134B5 #B134B5 #B53478
triadic
#B134B5 #B5B134 #34B5B1
tetradic
#B134B5 #B57134 #38B534 #3478B5
square
#B134B5 #B57134 #38B534 #3478B5
split-complementary
#B134B5 #78B534 #34B571
monochromatic
#541956 #832685 #B134B5 #CB57CF #DA87DC

Accessibility & contrast

On white

5.21
#B134B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B134B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B134B5
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B134B5#FFFFFF#000000##FFFFFF
##B134B51.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1762B9
Deuteranopia (green-blind)
#5372B2
Tritanopia (blue-blind)
#B64871
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b134b5;
/* rgb */ color: rgb(177, 52, 181);
/* oklch */ color: oklch(56.1% 0.215 326.6);
Tailwind
colors: {
  custom: {
    50: '#cc78cc',
    500: '#b134b5',
    950: '#000000',
  },
}
SCSS
$custom: #b134b5;
$custom-light: #cc78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b134b5",
  "rgb": {
    "r": 177,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 298.14,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56117,
    "c": 0.21484,
    "h": 326.6
  },
  "luminance": 0.15139
}

Semantic roles & 50–950 ramp

primary
#B134B5
secondary
#81C67F
accent
#DF494E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B134B5

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

Preview Lab → · Contrast checker → · Palette generator →

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