#B534A7#B534A7

#B534A7 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 55.9% C 0.206 H 332.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B534A7
RGBrgb(181, 52, 167)
HSLhsl(307, 55%, 46%)
HSVhsv(307, 71%, 71%)
CMYKcmyk(0%, 71.3%, 7.7%, 29%)
CIE-LABlab(45.73, 63.64, -34.41)
CIE-LCHlch(45.73, 72.35, 331.60°)
OKLaboklab(55.93% 0.1833 -0.0944)
OKLCHoklch(55.93% 0.206 332.7)
XYZxyz(27.2592, 15.0720, 38.0252)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B534A7 #34B542
analogous
#8334B5 #B534A7 #B53466
triadic
#B534A7 #A7B534 #34A7B5
tetradic
#B534A7 #B58334 #34B542 #3466B5
square
#B534A7 #B58334 #34B542 #3466B5
split-complementary
#B534A7 #66B534 #34B583
monochromatic
#56194F #85267B #B534A7 #CF57C2 #DC87D3

Accessibility & contrast

On white

5.23
#B534A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B534A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B534A7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B534A7#FFFFFF#000000##FFFFFF
##B534A71.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E60AA
Deuteranopia (green-blind)
#5E73A4
Tritanopia (blue-blind)
#BD416A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b534a7;
/* rgb */ color: rgb(181, 52, 167);
/* oklch */ color: oklch(55.9% 0.206 332.7);
Tailwind
colors: {
  custom: {
    50: '#cf78c1',
    500: '#b534a7',
    950: '#000000',
  },
}
SCSS
$custom: #b534a7;
$custom-light: #cf78c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b534a7",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 167
  },
  "hsl": {
    "h": 306.512,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55934,
    "c": 0.20616,
    "h": 332.7
  },
  "luminance": 0.1507
}

Semantic roles & 50–950 ramp

primary
#B534A7
secondary
#7FC686
accent
#DF5949
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B534A7

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

Preview Lab → · Contrast checker → · Palette generator →

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