#B534B1#B534B1

#B534B1 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.5% C 0.214 H 329.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B534B1
RGBrgb(181, 52, 177)
HSLhsl(302, 55%, 46%)
HSVhsv(302, 71%, 71%)
CMYKcmyk(0%, 71.3%, 2.2%, 29%)
CIE-LABlab(46.25, 65.23, -39.50)
CIE-LCHlch(46.25, 76.26, 328.80°)
OKLaboklab(56.48% 0.1837 -0.1091)
OKLCHoklch(56.48% 0.214 329.3)
XYZxyz(28.2196, 15.4562, 43.0835)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B534B1 #34B538
analogous
#7834B5 #B534B1 #B53471
triadic
#B534B1 #B1B534 #34B1B5
tetradic
#B534B1 #B57834 #34B538 #3471B5
square
#B534B1 #B57834 #34B538 #3471B5
split-complementary
#B534B1 #71B534 #34B578
monochromatic
#561954 #852683 #B534B1 #CF57CB #DC87DA

Accessibility & contrast

On white

5.13
#B534B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B534B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B534B1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B534B1#FFFFFF#000000##FFFFFF
##B534B11.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2363B4
Deuteranopia (green-blind)
#5974AE
Tritanopia (blue-blind)
#BB466F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b534b1;
/* rgb */ color: rgb(181, 52, 177);
/* oklch */ color: oklch(56.5% 0.214 329.3);
Tailwind
colors: {
  custom: {
    50: '#cf78c9',
    500: '#b534b1',
    950: '#000000',
  },
}
SCSS
$custom: #b534b1;
$custom-light: #cf78c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b534b1",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 177
  },
  "hsl": {
    "h": 301.86,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56477,
    "c": 0.21368,
    "h": 329.3
  },
  "luminance": 0.15454
}

Semantic roles & 50–950 ramp

primary
#B534B1
secondary
#7FC681
accent
#DF4E49
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B534B1

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

Preview Lab → · Contrast checker → · Palette generator →

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