#B534AA#B534AA

#B534AA is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.1% C 0.208 H 331.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B534AA
RGBrgb(181, 52, 170)
HSLhsl(305, 55%, 46%)
HSVhsv(305, 71%, 71%)
CMYKcmyk(0%, 71.3%, 6.1%, 29%)
CIE-LABlab(45.89, 64.11, -35.94)
CIE-LCHlch(45.89, 73.50, 330.72°)
OKLaboklab(56.09% 0.1835 -0.0988)
OKLCHoklch(56.09% 0.208 331.7)
XYZxyz(27.5398, 15.1842, 39.5028)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B534AA #34B53F
analogous
#7F34B5 #B534AA #B53469
triadic
#B534AA #AAB534 #34AAB5
tetradic
#B534AA #B57F34 #34B53F #3469B5
square
#B534AA #B57F34 #34B53F #3469B5
split-complementary
#B534AA #69B534 #34B57F
monochromatic
#561951 #85267D #B534AA #CF57C5 #DC87D5

Accessibility & contrast

On white

5.20
#B534AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B534AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B534AA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B534AA#FFFFFF#000000##FFFFFF
##B534AA1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B61AD
Deuteranopia (green-blind)
#5C73A7
Tritanopia (blue-blind)
#BC426B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b534aa;
/* rgb */ color: rgb(181, 52, 170);
/* oklch */ color: oklch(56.1% 0.208 331.7);
Tailwind
colors: {
  custom: {
    50: '#cf78c4',
    500: '#b534aa',
    950: '#000000',
  },
}
SCSS
$custom: #b534aa;
$custom-light: #cf78c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b534aa",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 305.116,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56094,
    "c": 0.20839,
    "h": 331.7
  },
  "luminance": 0.15182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B534AA

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

Preview Lab → · Contrast checker → · Palette generator →

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