#B534A2#B534A2

#B534A2 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.7% C 0.203 H 334.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B534A2
RGBrgb(181, 52, 162)
HSLhsl(309, 55%, 46%)
HSVhsv(309, 71%, 71%)
CMYKcmyk(0%, 71.3%, 10.5%, 29%)
CIE-LABlab(45.48, 62.88, -31.82)
CIE-LCHlch(45.48, 70.47, 333.15°)
OKLaboklab(55.67% 0.1829 -0.087)
OKLCHoklch(55.67% 0.203 334.6)
XYZxyz(26.8059, 14.8907, 35.6378)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B534A2 #34B547
analogous
#8734B5 #B534A2 #B53461
triadic
#B534A2 #A2B534 #34A2B5
tetradic
#B534A2 #B58734 #34B547 #3461B5
square
#B534A2 #B58734 #34B547 #3461B5
split-complementary
#B534A2 #61B534 #34B587
monochromatic
#56194D #852677 #B534A2 #CF57BD #DC87D0

Accessibility & contrast

On white

5.28
#B534A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B534A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B534A2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B534A2#FFFFFF#000000##FFFFFF
##B534A21.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3260A5
Deuteranopia (green-blind)
#60729F
Tritanopia (blue-blind)
#BE3F67
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b534a2;
/* rgb */ color: rgb(181, 52, 162);
/* oklch */ color: oklch(55.7% 0.203 334.6);
Tailwind
colors: {
  custom: {
    50: '#cf77be',
    500: '#b534a2',
    950: '#000000',
  },
}
SCSS
$custom: #b534a2;
$custom-light: #cf77be;
$custom-dark: #000000;
JSON
{
  "hex": "#b534a2",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 308.837,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55674,
    "c": 0.20252,
    "h": 334.6
  },
  "luminance": 0.14888
}

Semantic roles & 50–950 ramp

primary
#B534A2
secondary
#7FC689
accent
#DF5F49
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B534A2

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

Preview Lab → · Contrast checker → · Palette generator →

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