#B535BA#B535BA

#B535BA is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.1% C 0.220 H 326.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B535BA
RGBrgb(181, 53, 186)
HSLhsl(298, 56%, 47%)
HSVhsv(298, 72%, 73%)
CMYKcmyk(2.7%, 71.5%, 0%, 27.1%)
CIE-LABlab(46.87, 66.37, -43.80)
CIE-LCHlch(46.87, 79.53, 326.58°)
OKLaboklab(57.08% 0.1828 -0.1216)
OKLCHoklch(57.08% 0.22 326.4)
XYZxyz(29.1915, 15.9171, 47.9796)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535BA #3ABA35
analogous
#7235BA #B535BA #BA357D
triadic
#B535BA #BAB535 #35BAB5
tetradic
#B535BA #BA7235 #3ABA35 #357DBA
square
#B535BA #BA7235 #3ABA35 #357DBA
split-complementary
#B535BA #7DBA35 #35BA72
monochromatic
#581A5B #87278A #B535BA #CC5CD0 #DB8BDE

Accessibility & contrast

On white

5.02
#B535BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B535BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B535BA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535BA#FFFFFF#000000##FFFFFF
##B535BA1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1565BE
Deuteranopia (green-blind)
#5475B7
Tritanopia (blue-blind)
#BA4A74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b535ba;
/* rgb */ color: rgb(181, 53, 186);
/* oklch */ color: oklch(57.1% 0.220 326.4);
Tailwind
colors: {
  custom: {
    50: '#cf79cf',
    500: '#b535ba',
    950: '#000000',
  },
}
SCSS
$custom: #b535ba;
$custom-light: #cf79cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b535ba",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 297.744,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57075,
    "c": 0.21958,
    "h": 326.4
  },
  "luminance": 0.15915
}

Semantic roles & 50–950 ramp

primary
#B535BA
secondary
#85C882
accent
#DF494E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B535BA

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

Preview Lab → · Contrast checker → · Palette generator →

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