#B534B7#B534B7

#B534B7 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.8% C 0.218 H 327.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B534B7
RGBrgb(181, 52, 183)
HSLhsl(299, 56%, 46%)
HSVhsv(299, 72%, 72%)
CMYKcmyk(1.1%, 71.6%, 0%, 28.2%)
CIE-LABlab(46.58, 66.21, -42.50)
CIE-LCHlch(46.58, 78.68, 327.30°)
OKLaboklab(56.82% 0.1838 -0.1178)
OKLCHoklch(56.82% 0.218 327.3)
XYZxyz(28.8309, 15.7007, 46.3026)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B534B7 #36B734
analogous
#7334B7 #B534B7 #B73477
triadic
#B534B7 #B7B534 #34B7B5
tetradic
#B534B7 #B77334 #36B734 #3477B7
square
#B534B7 #B77334 #36B734 #3477B7
split-complementary
#B534B7 #77B734 #34B773
monochromatic
#571958 #862687 #B534B7 #CE59D0 #DC88DD

Accessibility & contrast

On white

5.07
#B534B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B534B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B534B7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B534B7#FFFFFF#000000##FFFFFF
##B534B71.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1964BB
Deuteranopia (green-blind)
#5574B4
Tritanopia (blue-blind)
#BA4872
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b534b7;
/* rgb */ color: rgb(181, 52, 183);
/* oklch */ color: oklch(56.8% 0.218 327.3);
Tailwind
colors: {
  custom: {
    50: '#cf78cd',
    500: '#b534b7',
    950: '#000000',
  },
}
SCSS
$custom: #b534b7;
$custom-light: #cf78cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b534b7",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 299.084,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56816,
    "c": 0.21832,
    "h": 327.3
  },
  "luminance": 0.15699
}

Semantic roles & 50–950 ramp

primary
#B534B7
secondary
#81C780
accent
#DF494B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B534B7

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

Preview Lab → · Contrast checker → · Palette generator →

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