#B534A4#B534A4

#B534A4 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.8% C 0.204 H 333.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B534A4
RGBrgb(181, 52, 164)
HSLhsl(308, 55%, 46%)
HSVhsv(308, 71%, 71%)
CMYKcmyk(0%, 71.3%, 9.4%, 29%)
CIE-LABlab(45.58, 63.18, -32.86)
CIE-LCHlch(45.58, 71.22, 332.52°)
OKLaboklab(55.78% 0.1831 -0.09)
OKLCHoklch(55.78% 0.204 333.8)
XYZxyz(26.9851, 14.9624, 36.5815)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B534A4 #34B545
analogous
#8534B5 #B534A4 #B53463
triadic
#B534A4 #A4B534 #34A4B5
tetradic
#B534A4 #B58534 #34B545 #3463B5
square
#B534A4 #B58534 #34B545 #3463B5
split-complementary
#B534A4 #63B534 #34B585
monochromatic
#56194E #852679 #B534A4 #CF57BF #DC87D1

Accessibility & contrast

On white

5.26
#B534A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B534A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B534A4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B534A4#FFFFFF#000000##FFFFFF
##B534A41.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A7
Deuteranopia (green-blind)
#5F73A1
Tritanopia (blue-blind)
#BD4068
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b534a4;
/* rgb */ color: rgb(181, 52, 164);
/* oklch */ color: oklch(55.8% 0.204 333.8);
Tailwind
colors: {
  custom: {
    50: '#cf77bf',
    500: '#b534a4',
    950: '#000000',
  },
}
SCSS
$custom: #b534a4;
$custom-light: #cf77bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b534a4",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 164
  },
  "hsl": {
    "h": 307.907,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55777,
    "c": 0.20397,
    "h": 333.8
  },
  "luminance": 0.1496
}

Semantic roles & 50–950 ramp

primary
#B534A4
secondary
#7FC688
accent
#DF5D49
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B534A4

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

Preview Lab → · Contrast checker → · Palette generator →

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