#B534B3#B534B3

#B534B3 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.6% C 0.215 H 328.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B534B3
RGBrgb(181, 52, 179)
HSLhsl(301, 55%, 46%)
HSVhsv(301, 71%, 71%)
CMYKcmyk(0%, 71.3%, 1.1%, 29%)
CIE-LABlab(46.36, 65.55, -40.50)
CIE-LCHlch(46.36, 77.06, 328.29°)
OKLaboklab(56.59% 0.1838 -0.112)
OKLCHoklch(56.59% 0.215 328.6)
XYZxyz(28.4204, 15.5365, 44.1410)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B534B3 #34B536
analogous
#7634B5 #B534B3 #B53472
triadic
#B534B3 #B3B534 #34B3B5
tetradic
#B534B3 #B57634 #34B536 #3472B5
square
#B534B3 #B57634 #34B536 #3472B5
split-complementary
#B534B3 #72B534 #34B576
monochromatic
#561955 #852684 #B534B3 #CF57CD #DC87DB

Accessibility & contrast

On white

5.11
#B534B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B534B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B534B3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B534B3#FFFFFF#000000##FFFFFF
##B534B31.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2063B7
Deuteranopia (green-blind)
#5874B0
Tritanopia (blue-blind)
#BB4770
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b534b3;
/* rgb */ color: rgb(181, 52, 179);
/* oklch */ color: oklch(56.6% 0.215 328.6);
Tailwind
colors: {
  custom: {
    50: '#cf78ca',
    500: '#b534b3',
    950: '#000000',
  },
}
SCSS
$custom: #b534b3;
$custom-light: #cf78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b534b3",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 300.93,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56589,
    "c": 0.21522,
    "h": 328.6
  },
  "luminance": 0.15534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B534B3

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

Preview Lab → · Contrast checker → · Palette generator →

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