#B534AE#B534AE

#B534AE is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.3% C 0.211 H 330.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B534AE
RGBrgb(181, 52, 174)
HSLhsl(303, 55%, 46%)
HSVhsv(303, 71%, 71%)
CMYKcmyk(0%, 71.3%, 3.9%, 29%)
CIE-LABlab(46.09, 64.75, -37.98)
CIE-LCHlch(46.09, 75.06, 329.60°)
OKLaboklab(56.31% 0.1836 -0.1047)
OKLCHoklch(56.31% 0.211 330.3)
XYZxyz(27.9239, 15.3379, 41.5260)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B534AE #34B53B
analogous
#7B34B5 #B534AE #B5346D
triadic
#B534AE #AEB534 #34AEB5
tetradic
#B534AE #B57B34 #34B53B #346DB5
square
#B534AE #B57B34 #34B53B #346DB5
split-complementary
#B534AE #6DB534 #34B57B
monochromatic
#561953 #852680 #B534AE #CF57C8 #DC87D8

Accessibility & contrast

On white

5.16
#B534AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B534AE
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B534AE#FFFFFF#000000##FFFFFF
##B534AE1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2662B1
Deuteranopia (green-blind)
#5A73AB
Tritanopia (blue-blind)
#BC446E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b534ae;
/* rgb */ color: rgb(181, 52, 174);
/* oklch */ color: oklch(56.3% 0.211 330.3);
Tailwind
colors: {
  custom: {
    50: '#cf78c6',
    500: '#b534ae',
    950: '#000000',
  },
}
SCSS
$custom: #b534ae;
$custom-light: #cf78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b534ae",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 303.256,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56311,
    "c": 0.2114,
    "h": 330.3
  },
  "luminance": 0.15336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B534AE

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

Preview Lab → · Contrast checker → · Palette generator →

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