#B534BD#B534BD

#B534BD is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.2% C 0.223 H 325.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B534BD
RGBrgb(181, 52, 189)
HSLhsl(296, 57%, 47%)
HSVhsv(296, 72%, 74%)
CMYKcmyk(4.2%, 72.5%, 0%, 25.9%)
CIE-LABlab(46.92, 67.22, -45.48)
CIE-LCHlch(46.92, 81.16, 325.92°)
OKLaboklab(57.17% 0.1837 -0.1265)
OKLCHoklch(57.17% 0.223 325.4)
XYZxyz(29.4687, 15.9558, 49.6619)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B534BD #3CBD34
analogous
#7034BD #B534BD #BD3481
triadic
#B534BD #BDB534 #34BDB5
tetradic
#B534BD #BD7034 #3CBD34 #3481BD
square
#B534BD #BD7034 #3CBD34 #3481BD
split-complementary
#B534BD #81BD34 #34BD70
monochromatic
#591A5D #87278D #B534BD #CB5CD2 #DB8CDF

Accessibility & contrast

On white

5.01
#B534BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B534BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B534BD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B534BD#FFFFFF#000000##FFFFFF
##B534BD1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0765C1
Deuteranopia (green-blind)
#5175BA
Tritanopia (blue-blind)
#B94B76
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b534bd;
/* rgb */ color: rgb(181, 52, 189);
/* oklch */ color: oklch(57.2% 0.223 325.4);
Tailwind
colors: {
  custom: {
    50: '#cf78d1',
    500: '#b534bd',
    950: '#000000',
  },
}
SCSS
$custom: #b534bd;
$custom-light: #cf78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b534bd",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 296.496,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57166,
    "c": 0.22303,
    "h": 325.4
  },
  "luminance": 0.15954
}

Semantic roles & 50–950 ramp

primary
#B534BD
secondary
#87CA83
accent
#E04851
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B534BD

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

Preview Lab → · Contrast checker → · Palette generator →

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