#B534A9#B534A9

#B534A9 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.208 H 332.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B534A9
RGBrgb(181, 52, 169)
HSLhsl(306, 55%, 46%)
HSVhsv(306, 71%, 71%)
CMYKcmyk(0%, 71.3%, 6.6%, 29%)
CIE-LABlab(45.83, 63.96, -35.43)
CIE-LCHlch(45.83, 73.11, 331.01°)
OKLaboklab(56.04% 0.1834 -0.0974)
OKLCHoklch(56.04% 0.208 332)
XYZxyz(27.4455, 15.1465, 39.0065)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B534A9 #34B540
analogous
#8034B5 #B534A9 #B53469
triadic
#B534A9 #A9B534 #34A9B5
tetradic
#B534A9 #B58034 #34B540 #3469B5
square
#B534A9 #B58034 #34B540 #3469B5
split-complementary
#B534A9 #69B534 #34B580
monochromatic
#561950 #85267D #B534A9 #CF57C4 #DC87D5

Accessibility & contrast

On white

5.21
#B534A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B534A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B534A9
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B534A9#FFFFFF#000000##FFFFFF
##B534A91.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C61AC
Deuteranopia (green-blind)
#5D73A6
Tritanopia (blue-blind)
#BD426B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b534a9;
/* rgb */ color: rgb(181, 52, 169);
/* oklch */ color: oklch(56.0% 0.208 332.0);
Tailwind
colors: {
  custom: {
    50: '#cf78c3',
    500: '#b534a9',
    950: '#000000',
  },
}
SCSS
$custom: #b534a9;
$custom-light: #cf78c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b534a9",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 169
  },
  "hsl": {
    "h": 305.581,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5604,
    "c": 0.20765,
    "h": 332
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#B534A9
secondary
#7FC685
accent
#DF5749
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B534A9

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

Preview Lab → · Contrast checker → · Palette generator →

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