#B534B6#B534B6

#B534B6 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.8% C 0.218 H 327.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B534B6
RGBrgb(181, 52, 182)
HSLhsl(300, 56%, 46%)
HSVhsv(300, 71%, 71%)
CMYKcmyk(0.5%, 71.4%, 0%, 28.6%)
CIE-LABlab(46.52, 66.05, -42.01)
CIE-LCHlch(46.52, 78.27, 327.54°)
OKLaboklab(56.76% 0.1838 -0.1164)
OKLCHoklch(56.76% 0.218 327.7)
XYZxyz(28.7271, 15.6592, 45.7564)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B534B6 #35B634
analogous
#7434B6 #B534B6 #B63476
triadic
#B534B6 #B6B534 #34B6B5
tetradic
#B534B6 #B67434 #35B634 #3476B6
square
#B534B6 #B67434 #35B634 #3476B6
split-complementary
#B534B6 #76B634 #34B674
monochromatic
#561957 #862686 #B534B6 #CE58CF #DC88DD

Accessibility & contrast

On white

5.08
#B534B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B534B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B534B6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B534B6#FFFFFF#000000##FFFFFF
##B534B61.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B64BA
Deuteranopia (green-blind)
#5674B3
Tritanopia (blue-blind)
#BA4872
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b534b6;
/* rgb */ color: rgb(181, 52, 182);
/* oklch */ color: oklch(56.8% 0.218 327.7);
Tailwind
colors: {
  custom: {
    50: '#cf78cc',
    500: '#b534b6',
    950: '#000000',
  },
}
SCSS
$custom: #b534b6;
$custom-light: #cf78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b534b6",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 182
  },
  "hsl": {
    "h": 299.538,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56759,
    "c": 0.21754,
    "h": 327.7
  },
  "luminance": 0.15657
}

Semantic roles & 50–950 ramp

primary
#B534B6
secondary
#80C77F
accent
#DF494A
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B534B6

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

Preview Lab → · Contrast checker → · Palette generator →

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