#B535B0#B535B0

#B535B0 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.5% C 0.212 H 329.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B535B0
RGBrgb(181, 53, 176)
HSLhsl(302, 55%, 46%)
HSVhsv(302, 71%, 71%)
CMYKcmyk(0%, 70.7%, 2.8%, 29%)
CIE-LABlab(46.32, 64.72, -38.80)
CIE-LCHlch(46.32, 75.46, 329.06°)
OKLaboklab(56.51% 0.1827 -0.1071)
OKLCHoklch(56.51% 0.212 329.6)
XYZxyz(28.1654, 15.5067, 42.5755)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535B0 #35B53A
analogous
#7A35B5 #B535B0 #B53570
triadic
#B535B0 #B0B535 #35B0B5
tetradic
#B535B0 #B57A35 #35B53A #3570B5
square
#B535B0 #B57A35 #35B53A #3570B5
split-complementary
#B535B0 #70B535 #35B57A
monochromatic
#561954 #862782 #B535B0 #CE59CA #DC88D9

Accessibility & contrast

On white

5.12
#B535B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B535B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B535B0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535B0#FFFFFF#000000##FFFFFF
##B535B01.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2563B3
Deuteranopia (green-blind)
#5A74AD
Tritanopia (blue-blind)
#BB466F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b535b0;
/* rgb */ color: rgb(181, 53, 176);
/* oklch */ color: oklch(56.5% 0.212 329.6);
Tailwind
colors: {
  custom: {
    50: '#cf78c8',
    500: '#b535b0',
    950: '#000000',
  },
}
SCSS
$custom: #b535b0;
$custom-light: #cf78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b535b0",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 176
  },
  "hsl": {
    "h": 302.344,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56508,
    "c": 0.21179,
    "h": 329.6
  },
  "luminance": 0.15505
}

Semantic roles & 50–950 ramp

primary
#B535B0
secondary
#80C682
accent
#DE504A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B535B0

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

Preview Lab → · Contrast checker → · Palette generator →

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