#B534B2#B534B2

#B534B2 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.5% C 0.214 H 329.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B534B2
RGBrgb(181, 52, 178)
HSLhsl(301, 55%, 46%)
HSVhsv(301, 71%, 71%)
CMYKcmyk(0%, 71.3%, 1.7%, 29%)
CIE-LABlab(46.31, 65.39, -40.00)
CIE-LCHlch(46.31, 76.66, 328.55°)
OKLaboklab(56.53% 0.1837 -0.1106)
OKLCHoklch(56.53% 0.214 329)
XYZxyz(28.3197, 15.4962, 43.6103)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B534B2 #34B537
analogous
#7734B5 #B534B2 #B53472
triadic
#B534B2 #B2B534 #34B2B5
tetradic
#B534B2 #B57734 #34B537 #3472B5
square
#B534B2 #B57734 #34B537 #3472B5
split-complementary
#B534B2 #72B534 #34B577
monochromatic
#561954 #852683 #B534B2 #CF57CC #DC87DB

Accessibility & contrast

On white

5.12
#B534B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B534B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B534B2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B534B2#FFFFFF#000000##FFFFFF
##B534B21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2163B5
Deuteranopia (green-blind)
#5874AF
Tritanopia (blue-blind)
#BB4670
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b534b2;
/* rgb */ color: rgb(181, 52, 178);
/* oklch */ color: oklch(56.5% 0.214 329.0);
Tailwind
colors: {
  custom: {
    50: '#cf78c9',
    500: '#b534b2',
    950: '#000000',
  },
}
SCSS
$custom: #b534b2;
$custom-light: #cf78c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b534b2",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 301.395,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56533,
    "c": 0.21445,
    "h": 329
  },
  "luminance": 0.15494
}

Semantic roles & 50–950 ramp

primary
#B534B2
secondary
#7FC680
accent
#DF4D49
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B534B2

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

Preview Lab → · Contrast checker → · Palette generator →

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