#B534C1#B534C1

#B534C1 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.226 H 324.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B534C1
RGBrgb(181, 52, 193)
HSLhsl(295, 58%, 48%)
HSVhsv(295, 73%, 76%)
CMYKcmyk(6.2%, 73.1%, 0%, 24.3%)
CIE-LABlab(47.15, 67.90, -47.44)
CIE-LCHlch(47.15, 82.83, 325.06°)
OKLaboklab(57.4% 0.1836 -0.1322)
OKLCHoklch(57.4% 0.226 324.2)
XYZxyz(29.9089, 16.1319, 51.9802)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B534C1 #40C134
analogous
#6F34C1 #B534C1 #C13486
triadic
#B534C1 #C1B534 #34C1B5
tetradic
#B534C1 #C16F34 #40C134 #3486C1
square
#B534C1 #C16F34 #40C134 #3486C1
split-complementary
#B534C1 #86C134 #34C16F
monochromatic
#5B1A61 #882791 #B534C1 #CA5ED4 #DA8FE1

Accessibility & contrast

On white

4.97
#B534C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B534C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B534C1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B534C1#FFFFFF#000000##FFFFFF
##B534C11.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#4F75BE
Tritanopia (blue-blind)
#B84D78
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b534c1;
/* rgb */ color: rgb(181, 52, 193);
/* oklch */ color: oklch(57.4% 0.226 324.2);
Tailwind
colors: {
  custom: {
    50: '#cf78d4',
    500: '#b534c1',
    950: '#000000',
  },
}
SCSS
$custom: #b534c1;
$custom-light: #cf78d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b534c1",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 294.894,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57405,
    "c": 0.22621,
    "h": 324.2
  },
  "luminance": 0.1613
}

Semantic roles & 50–950 ramp

primary
#B534C1
secondary
#8BCB86
accent
#E14754
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B534C1

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

Preview Lab → · Contrast checker → · Palette generator →

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