#B534B8#B534B8

#B534B8 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.9% C 0.219 H 327.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B534B8
RGBrgb(181, 52, 184)
HSLhsl(299, 56%, 46%)
HSVhsv(299, 72%, 72%)
CMYKcmyk(1.6%, 71.7%, 0%, 27.8%)
CIE-LABlab(46.63, 66.38, -43.00)
CIE-LCHlch(46.63, 79.09, 327.06°)
OKLaboklab(56.87% 0.1838 -0.1193)
OKLCHoklch(56.87% 0.219 327)
XYZxyz(28.9353, 15.7424, 46.8527)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B534B8 #37B834
analogous
#7334B8 #B534B8 #B83479
triadic
#B534B8 #B8B534 #34B8B5
tetradic
#B534B8 #B87334 #37B834 #3479B8
square
#B534B8 #B87334 #37B834 #3479B8
split-complementary
#B534B8 #79B834 #34B873
monochromatic
#571959 #862788 #B534B8 #CD59D0 #DC89DE

Accessibility & contrast

On white

5.06
#B534B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B534B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B534B8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B534B8#FFFFFF#000000##FFFFFF
##B534B81.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1764BC
Deuteranopia (green-blind)
#5574B5
Tritanopia (blue-blind)
#BA4973
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b534b8;
/* rgb */ color: rgb(181, 52, 184);
/* oklch */ color: oklch(56.9% 0.219 327.0);
Tailwind
colors: {
  custom: {
    50: '#cf78ce',
    500: '#b534b8',
    950: '#000000',
  },
}
SCSS
$custom: #b534b8;
$custom-light: #cf78ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b534b8",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 298.636,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56874,
    "c": 0.21911,
    "h": 327
  },
  "luminance": 0.1574
}

Semantic roles & 50–950 ramp

primary
#B534B8
secondary
#82C880
accent
#DF494C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B534B8

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

Preview Lab → · Contrast checker → · Palette generator →

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