#B534BB#B534BB

#B534BB is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.221 H 326.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B534BB
RGBrgb(181, 52, 187)
HSLhsl(297, 56%, 47%)
HSVhsv(297, 72%, 73%)
CMYKcmyk(3.2%, 72.2%, 0%, 26.7%)
CIE-LABlab(46.80, 66.88, -44.49)
CIE-LCHlch(46.80, 80.33, 326.37°)
OKLaboklab(57.05% 0.1837 -0.1236)
OKLCHoklch(57.05% 0.221 326.1)
XYZxyz(29.2531, 15.8696, 48.5264)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B534BB #3ABB34
analogous
#7134BB #B534BB #BB347E
triadic
#B534BB #BBB534 #34BBB5
tetradic
#B534BB #BB7134 #3ABB34 #347EBB
square
#B534BB #BB7134 #3ABB34 #347EBB
split-complementary
#B534BB #7EBB34 #34BB71
monochromatic
#58195B #87278B #B534BB #CC5BD1 #DB8BDF

Accessibility & contrast

On white

5.03
#B534BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B534BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B534BB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B534BB#FFFFFF#000000##FFFFFF
##B534BB1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F65BF
Deuteranopia (green-blind)
#5374B8
Tritanopia (blue-blind)
#BA4A75
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b534bb;
/* rgb */ color: rgb(181, 52, 187);
/* oklch */ color: oklch(57.0% 0.221 326.1);
Tailwind
colors: {
  custom: {
    50: '#cf78d0',
    500: '#b534bb',
    950: '#000000',
  },
}
SCSS
$custom: #b534bb;
$custom-light: #cf78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b534bb",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 297.333,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57048,
    "c": 0.22145,
    "h": 326.1
  },
  "luminance": 0.15868
}

Semantic roles & 50–950 ramp

primary
#B534BB
secondary
#85C982
accent
#E0484F
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B534BB

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

Preview Lab → · Contrast checker → · Palette generator →

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