#B134B4#B134B4

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

Color values

HEX#B134B4
RGBrgb(177, 52, 180)
HSLhsl(299, 55%, 45%)
HSVhsv(299, 71%, 71%)
CMYKcmyk(1.7%, 71.1%, 0%, 29.4%)
CIE-LABlab(45.77, 64.83, -42.07)
CIE-LCHlch(45.77, 77.29, 327.02°)
OKLaboklab(56.06% 0.1795 -0.1167)
OKLCHoklch(56.06% 0.214 327)
XYZxyz(27.5972, 15.1003, 44.6323)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B134B4 #37B434
analogous
#7134B4 #B134B4 #B43477
triadic
#B134B4 #B4B134 #34B4B1
tetradic
#B134B4 #B47134 #37B434 #3477B4
square
#B134B4 #B47134 #37B434 #3477B4
split-complementary
#B134B4 #77B434 #34B471
monochromatic
#541955 #822685 #B134B4 #CC57CE #DA86DC

Accessibility & contrast

On white

5.22
#B134B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B134B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B134B4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B134B4#FFFFFF#000000##FFFFFF
##B134B41.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1962B8
Deuteranopia (green-blind)
#5372B1
Tritanopia (blue-blind)
#B64871
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b134b4;
/* rgb */ color: rgb(177, 52, 180);
/* oklch */ color: oklch(56.1% 0.214 327.0);
Tailwind
colors: {
  custom: {
    50: '#cc77cb',
    500: '#b134b4',
    950: '#000000',
  },
}
SCSS
$custom: #b134b4;
$custom-light: #cc77cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b134b4",
  "rgb": {
    "r": 177,
    "g": 52,
    "b": 180
  },
  "hsl": {
    "h": 298.594,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56059,
    "c": 0.21405,
    "h": 327
  },
  "luminance": 0.15098
}

Semantic roles & 50–950 ramp

primary
#B134B4
secondary
#80C67E
accent
#DF494D
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B134B4

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

Preview Lab → · Contrast checker → · Palette generator →

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