#B134C2#B134C2

#B134C2 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.9% C 0.225 H 322.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B134C2
RGBrgb(177, 52, 194)
HSLhsl(293, 58%, 48%)
HSVhsv(293, 73%, 76%)
CMYKcmyk(8.8%, 73.2%, 0%, 23.9%)
CIE-LABlab(46.58, 67.25, -48.96)
CIE-LCHlch(46.58, 83.18, 323.94°)
OKLaboklab(56.9% 0.179 -0.1368)
OKLCHoklch(56.9% 0.225 322.6)
XYZxyz(29.0961, 15.6998, 52.5263)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B134C2 #45C234
analogous
#6A34C2 #B134C2 #C2348C
triadic
#B134C2 #C2B134 #34C2B1
tetradic
#B134C2 #C26A34 #45C234 #348CC2
square
#B134C2 #C26A34 #45C234 #348CC2
split-complementary
#B134C2 #8CC234 #34C26A
monochromatic
#591A61 #852792 #B134C2 #C65FD4 #D78FE1

Accessibility & contrast

On white

5.07
#B134C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B134C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B134C2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B134C2#FFFFFF#000000##FFFFFF
##B134C21.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#4A73BF
Tritanopia (blue-blind)
#B34E79
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b134c2;
/* rgb */ color: rgb(177, 52, 194);
/* oklch */ color: oklch(56.9% 0.225 322.6);
Tailwind
colors: {
  custom: {
    50: '#cc78d5',
    500: '#b134c2',
    950: '#000000',
  },
}
SCSS
$custom: #b134c2;
$custom-light: #cc78d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b134c2",
  "rgb": {
    "r": 177,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 292.817,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56895,
    "c": 0.22529,
    "h": 322.6
  },
  "luminance": 0.15698
}

Semantic roles & 50–950 ramp

primary
#B134C2
secondary
#8ECC86
accent
#E14759
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B134C2

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

Preview Lab → · Contrast checker → · Palette generator →

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