#B535AB#B535AB

#B535AB is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.2% C 0.208 H 331.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B535AB
RGBrgb(181, 53, 171)
HSLhsl(305, 55%, 46%)
HSVhsv(305, 71%, 71%)
CMYKcmyk(0%, 70.7%, 5.5%, 29%)
CIE-LABlab(46.06, 63.92, -36.26)
CIE-LCHlch(46.06, 73.49, 330.43°)
OKLaboklab(56.24% 0.1825 -0.0998)
OKLCHoklch(56.24% 0.208 331.3)
XYZxyz(27.6798, 15.3124, 40.0179)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535AB #35B53F
analogous
#7F35B5 #B535AB #B5356B
triadic
#B535AB #ABB535 #35ABB5
tetradic
#B535AB #B57F35 #35B53F #356BB5
square
#B535AB #B57F35 #35B53F #356BB5
split-complementary
#B535AB #6BB535 #35B57F
monochromatic
#561952 #86277E #B535AB #CE59C5 #DC88D6

Accessibility & contrast

On white

5.17
#B535AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B535AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B535AB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535AB#FFFFFF#000000##FFFFFF
##B535AB1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B62AE
Deuteranopia (green-blind)
#5C73A8
Tritanopia (blue-blind)
#BC446C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b535ab;
/* rgb */ color: rgb(181, 53, 171);
/* oklch */ color: oklch(56.2% 0.208 331.3);
Tailwind
colors: {
  custom: {
    50: '#cf78c4',
    500: '#b535ab',
    950: '#000000',
  },
}
SCSS
$custom: #b535ab;
$custom-light: #cf78c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b535ab",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 304.688,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56235,
    "c": 0.20799,
    "h": 331.3
  },
  "luminance": 0.1531
}

Semantic roles & 50–950 ramp

primary
#B535AB
secondary
#80C685
accent
#DE554A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B535AB

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

Preview Lab → · Contrast checker → · Palette generator →

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