#B134B6#B134B6

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

Color values

HEX#B134B6
RGBrgb(177, 52, 182)
HSLhsl(298, 56%, 46%)
HSVhsv(298, 71%, 71%)
CMYKcmyk(2.7%, 71.4%, 0%, 28.6%)
CIE-LABlab(45.88, 65.17, -43.06)
CIE-LCHlch(45.88, 78.11, 326.54°)
OKLaboklab(56.18% 0.1794 -0.1196)
OKLCHoklch(56.18% 0.216 326.3)
XYZxyz(27.8024, 15.1824, 45.7130)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B134B6 #39B634
analogous
#7034B6 #B134B6 #B6347A
triadic
#B134B6 #B6B134 #34B6B1
tetradic
#B134B6 #B67034 #39B634 #347AB6
square
#B134B6 #B67034 #39B634 #347AB6
split-complementary
#B134B6 #7AB634 #34B670
monochromatic
#541957 #832686 #B134B6 #CB58CF #DA88DD

Accessibility & contrast

On white

5.20
#B134B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B134B6
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B134B6#FFFFFF#000000##FFFFFF
##B134B61.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1563BA
Deuteranopia (green-blind)
#5272B3
Tritanopia (blue-blind)
#B64972
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b134b6;
/* rgb */ color: rgb(177, 52, 182);
/* oklch */ color: oklch(56.2% 0.216 326.3);
Tailwind
colors: {
  custom: {
    50: '#cc78cc',
    500: '#b134b6',
    950: '#000000',
  },
}
SCSS
$custom: #b134b6;
$custom-light: #cc78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b134b6",
  "rgb": {
    "r": 177,
    "g": 52,
    "b": 182
  },
  "hsl": {
    "h": 297.692,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56175,
    "c": 0.21563,
    "h": 326.3
  },
  "luminance": 0.1518
}

Semantic roles & 50–950 ramp

primary
#B134B6
secondary
#82C77F
accent
#DF494F
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B134B6

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

Preview Lab → · Contrast checker → · Palette generator →

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