#B534AC#B534AC

#B534AC is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.2% C 0.210 H 331.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B534AC
RGBrgb(181, 52, 172)
HSLhsl(304, 55%, 46%)
HSVhsv(304, 71%, 71%)
CMYKcmyk(0%, 71.3%, 5%, 29%)
CIE-LABlab(45.99, 64.43, -36.96)
CIE-LCHlch(45.99, 74.28, 330.16°)
OKLaboklab(56.2% 0.1836 -0.1018)
OKLCHoklch(56.2% 0.21 331)
XYZxyz(27.7304, 15.2605, 40.5068)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B534AC #34B53D
analogous
#7D34B5 #B534AC #B5346B
triadic
#B534AC #ACB534 #34ACB5
tetradic
#B534AC #B57D34 #34B53D #346BB5
square
#B534AC #B57D34 #34B53D #346BB5
split-complementary
#B534AC #6BB534 #34B57D
monochromatic
#561952 #85267F #B534AC #CF57C7 #DC87D7

Accessibility & contrast

On white

5.18
#B534AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B534AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B534AC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B534AC#FFFFFF#000000##FFFFFF
##B534AC1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2962AF
Deuteranopia (green-blind)
#5B73A9
Tritanopia (blue-blind)
#BC436C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b534ac;
/* rgb */ color: rgb(181, 52, 172);
/* oklch */ color: oklch(56.2% 0.210 331.0);
Tailwind
colors: {
  custom: {
    50: '#cf78c5',
    500: '#b534ac',
    950: '#000000',
  },
}
SCSS
$custom: #b534ac;
$custom-light: #cf78c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b534ac",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 304.186,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56202,
    "c": 0.20989,
    "h": 331
  },
  "luminance": 0.15258
}

Semantic roles & 50–950 ramp

primary
#B534AC
secondary
#7FC684
accent
#DF5449
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B534AC

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

Preview Lab → · Contrast checker → · Palette generator →

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