#B535B2#B535B2

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

Color values

HEX#B535B2
RGBrgb(181, 53, 178)
HSLhsl(301, 55%, 46%)
HSVhsv(301, 71%, 71%)
CMYKcmyk(0%, 70.7%, 1.7%, 29%)
CIE-LABlab(46.43, 65.05, -39.81)
CIE-LCHlch(46.43, 76.26, 328.53°)
OKLaboklab(56.62% 0.1828 -0.11)
OKLCHoklch(56.62% 0.213 328.9)
XYZxyz(28.3648, 15.5864, 43.6254)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535B2 #35B538
analogous
#7835B5 #B535B2 #B53572
triadic
#B535B2 #B2B535 #35B2B5
tetradic
#B535B2 #B57835 #35B538 #3572B5
square
#B535B2 #B57835 #35B538 #3572B5
split-complementary
#B535B2 #72B535 #35B578
monochromatic
#561955 #862783 #B535B2 #CE59CC #DC88DA

Accessibility & contrast

On white

5.10
#B535B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B535B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B535B2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535B2#FFFFFF#000000##FFFFFF
##B535B21.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2363B5
Deuteranopia (green-blind)
#5974AF
Tritanopia (blue-blind)
#BB4770
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b535b2;
/* rgb */ color: rgb(181, 53, 178);
/* oklch */ color: oklch(56.6% 0.213 328.9);
Tailwind
colors: {
  custom: {
    50: '#cf78c9',
    500: '#b535b2',
    950: '#000000',
  },
}
SCSS
$custom: #b535b2;
$custom-light: #cf78c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b535b2",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 301.406,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56619,
    "c": 0.21334,
    "h": 328.9
  },
  "luminance": 0.15584
}

Semantic roles & 50–950 ramp

primary
#B535B2
secondary
#80C681
accent
#DE4D4A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B535B2

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

Preview Lab → · Contrast checker → · Palette generator →

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