#B535BB#B535BB

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

Color values

HEX#B535BB
RGBrgb(181, 53, 187)
HSLhsl(297, 56%, 47%)
HSVhsv(297, 72%, 73%)
CMYKcmyk(3.2%, 71.7%, 0%, 26.7%)
CIE-LABlab(46.92, 66.54, -44.30)
CIE-LCHlch(46.92, 79.94, 326.35°)
OKLaboklab(57.13% 0.1828 -0.1231)
OKLCHoklch(57.13% 0.22 326)
XYZxyz(29.2982, 15.9598, 48.5415)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535BB #3BBB35
analogous
#7235BB #B535BB #BB357E
triadic
#B535BB #BBB535 #35BBB5
tetradic
#B535BB #BB7235 #3BBB35 #357EBB
square
#B535BB #BB7235 #3BBB35 #357EBB
split-complementary
#B535BB #7EBB35 #35BB72
monochromatic
#591A5C #87278B #B535BB #CC5CD1 #DB8CDE

Accessibility & contrast

On white

5.01
#B535BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B535BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B535BB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535BB#FFFFFF#000000##FFFFFF
##B535BB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1265BF
Deuteranopia (green-blind)
#5375B8
Tritanopia (blue-blind)
#BA4B75
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b535bb;
/* rgb */ color: rgb(181, 53, 187);
/* oklch */ color: oklch(57.1% 0.220 326.0);
Tailwind
colors: {
  custom: {
    50: '#cf79d0',
    500: '#b535bb',
    950: '#000000',
  },
}
SCSS
$custom: #b535bb;
$custom-light: #cf79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b535bb",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 297.313,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57133,
    "c": 0.22037,
    "h": 326
  },
  "luminance": 0.15958
}

Semantic roles & 50–950 ramp

primary
#B535BB
secondary
#86C983
accent
#DF494F
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B535BB

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

Preview Lab → · Contrast checker → · Palette generator →

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