#B134A7#B134A7

#B134A7 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.3% C 0.204 H 331.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B134A7
RGBrgb(177, 52, 167)
HSLhsl(305, 55%, 45%)
HSVhsv(305, 71%, 69%)
CMYKcmyk(0%, 70.6%, 5.6%, 30.6%)
CIE-LABlab(45.07, 62.71, -35.49)
CIE-LCHlch(45.07, 72.05, 330.49°)
OKLaboklab(55.33% 0.1791 -0.0976)
OKLCHoklch(55.33% 0.204 331.4)
XYZxyz(26.3345, 14.5952, 37.9819)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B134A7 #34B13E
analogous
#7D34B1 #B134A7 #B13469
triadic
#B134A7 #A7B134 #34A7B1
tetradic
#B134A7 #B17D34 #34B13E #3469B1
square
#B134A7 #B17D34 #34B13E #3469B1
split-complementary
#B134A7 #69B134 #34B17D
monochromatic
#52184E #82267A #B134A7 #CD55C3 #DB84D4

Accessibility & contrast

On white

5.36
#B134A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B134A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B134A7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B134A7#FFFFFF#000000##FFFFFF
##B134A71.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5FAA
Deuteranopia (green-blind)
#5A71A4
Tritanopia (blue-blind)
#B8426A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b134a7;
/* rgb */ color: rgb(177, 52, 167);
/* oklch */ color: oklch(55.3% 0.204 331.4);
Tailwind
colors: {
  custom: {
    50: '#cc77c1',
    500: '#b134a7',
    950: '#000000',
  },
}
SCSS
$custom: #b134a7;
$custom-light: #cc77c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b134a7",
  "rgb": {
    "r": 177,
    "g": 52,
    "b": 167
  },
  "hsl": {
    "h": 304.8,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55333,
    "c": 0.20399,
    "h": 331.4
  },
  "luminance": 0.14593
}

Semantic roles & 50–950 ramp

primary
#B134A7
secondary
#7CC582
accent
#DE564A
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B134A7

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

Preview Lab → · Contrast checker → · Palette generator →

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