#B535B1#B535B1

#B535B1 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.6% C 0.213 H 329.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B535B1
RGBrgb(181, 53, 177)
HSLhsl(302, 55%, 46%)
HSVhsv(302, 71%, 71%)
CMYKcmyk(0%, 70.7%, 2.2%, 29%)
CIE-LABlab(46.37, 64.89, -39.31)
CIE-LCHlch(46.37, 75.86, 328.79°)
OKLaboklab(56.56% 0.1827 -0.1086)
OKLCHoklch(56.56% 0.213 329.3)
XYZxyz(28.2647, 15.5464, 43.0985)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535B1 #35B539
analogous
#7935B5 #B535B1 #B53571
triadic
#B535B1 #B1B535 #35B1B5
tetradic
#B535B1 #B57935 #35B539 #3571B5
square
#B535B1 #B57935 #35B539 #3571B5
split-complementary
#B535B1 #71B535 #35B579
monochromatic
#561954 #862783 #B535B1 #CE59CB #DC88DA

Accessibility & contrast

On white

5.11
#B535B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B535B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B535B1
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535B1#FFFFFF#000000##FFFFFF
##B535B11.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2463B4
Deuteranopia (green-blind)
#5974AE
Tritanopia (blue-blind)
#BB466F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b535b1;
/* rgb */ color: rgb(181, 53, 177);
/* oklch */ color: oklch(56.6% 0.213 329.3);
Tailwind
colors: {
  custom: {
    50: '#cf78c9',
    500: '#b535b1',
    950: '#000000',
  },
}
SCSS
$custom: #b535b1;
$custom-light: #cf78c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b535b1",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 301.875,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56564,
    "c": 0.21256,
    "h": 329.3
  },
  "luminance": 0.15544
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B535B1

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

Preview Lab → · Contrast checker → · Palette generator →

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