#B534AF#B534AF

#B534AF is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.4% C 0.212 H 330.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B534AF
RGBrgb(181, 52, 175)
HSLhsl(303, 55%, 46%)
HSVhsv(303, 71%, 71%)
CMYKcmyk(0%, 71.3%, 3.3%, 29%)
CIE-LABlab(46.15, 64.91, -38.49)
CIE-LCHlch(46.15, 75.46, 329.33°)
OKLaboklab(56.37% 0.1837 -0.1062)
OKLCHoklch(56.37% 0.212 330)
XYZxyz(28.0218, 15.3770, 42.0413)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B534AF #34B53A
analogous
#7A34B5 #B534AF #B5346E
triadic
#B534AF #AFB534 #34AFB5
tetradic
#B534AF #B57A34 #34B53A #346EB5
square
#B534AF #B57A34 #34B53A #346EB5
split-complementary
#B534AF #6EB534 #34B57A
monochromatic
#561953 #852681 #B534AF #CF57C9 #DC87D9

Accessibility & contrast

On white

5.15
#B534AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B534AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B534AF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B534AF#FFFFFF#000000##FFFFFF
##B534AF1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2562B2
Deuteranopia (green-blind)
#5A73AC
Tritanopia (blue-blind)
#BC456E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b534af;
/* rgb */ color: rgb(181, 52, 175);
/* oklch */ color: oklch(56.4% 0.212 330.0);
Tailwind
colors: {
  custom: {
    50: '#cf78c7',
    500: '#b534af',
    950: '#000000',
  },
}
SCSS
$custom: #b534af;
$custom-light: #cf78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b534af",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 302.791,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56366,
    "c": 0.21216,
    "h": 330
  },
  "luminance": 0.15375
}

Semantic roles & 50–950 ramp

primary
#B534AF
secondary
#7FC682
accent
#DF5049
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B534AF

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

Preview Lab → · Contrast checker → · Palette generator →

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