#B134C8#B134C8

#B134C8 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.3% C 0.230 H 320.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B134C8
RGBrgb(177, 52, 200)
HSLhsl(291, 59%, 49%)
HSVhsv(291, 74%, 78%)
CMYKcmyk(11.5%, 74%, 0%, 21.6%)
CIE-LABlab(46.94, 68.31, -51.86)
CIE-LCHlch(46.94, 85.77, 322.80°)
OKLaboklab(57.27% 0.1786 -0.1453)
OKLCHoklch(57.27% 0.23 320.9)
XYZxyz(29.7836, 15.9748, 56.1470)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B134C8 #4BC834
analogous
#6734C8 #B134C8 #C83495
triadic
#B134C8 #C8B134 #34C8B1
tetradic
#B134C8 #C86734 #4BC834 #3495C8
square
#B134C8 #C86734 #4BC834 #3495C8
split-complementary
#B134C8 #95C834 #34C867
monochromatic
#5B1B67 #862797 #B134C8 #C463D6 #D793E3

Accessibility & contrast

On white

5.01
#B134C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B134C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B134C8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B134C8#FFFFFF#000000##FFFFFF
##B134C81.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#4574C5
Tritanopia (blue-blind)
#B2517C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b134c8;
/* rgb */ color: rgb(177, 52, 200);
/* oklch */ color: oklch(57.3% 0.230 320.9);
Tailwind
colors: {
  custom: {
    50: '#cc78d9',
    500: '#b134c8',
    950: '#000000',
  },
}
SCSS
$custom: #b134c8;
$custom-light: #cc78d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b134c8",
  "rgb": {
    "r": 177,
    "g": 52,
    "b": 200
  },
  "hsl": {
    "h": 290.676,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5727,
    "c": 0.2302,
    "h": 320.9
  },
  "luminance": 0.15973
}

Semantic roles & 50–950 ramp

primary
#B134C8
secondary
#94CE8A
accent
#E2465E
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B134C8

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

Preview Lab → · Contrast checker → · Palette generator →

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