#B535B3#B535B3

#B535B3 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.7% C 0.214 H 328.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B535B3
RGBrgb(181, 53, 179)
HSLhsl(301, 55%, 46%)
HSVhsv(301, 71%, 71%)
CMYKcmyk(0%, 70.7%, 1.1%, 29%)
CIE-LABlab(46.48, 65.21, -40.31)
CIE-LCHlch(46.48, 76.67, 328.28°)
OKLaboklab(56.68% 0.1828 -0.1115)
OKLCHoklch(56.68% 0.214 328.6)
XYZxyz(28.4655, 15.6267, 44.1561)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535B3 #35B537
analogous
#7735B5 #B535B3 #B53573
triadic
#B535B3 #B3B535 #35B3B5
tetradic
#B535B3 #B57735 #35B537 #3573B5
square
#B535B3 #B57735 #35B537 #3573B5
split-complementary
#B535B3 #73B535 #35B577
monochromatic
#561955 #862784 #B535B3 #CE59CD #DC88DB

Accessibility & contrast

On white

5.09
#B535B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B535B3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535B3#FFFFFF#000000##FFFFFF
##B535B31.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2163B7
Deuteranopia (green-blind)
#5874B0
Tritanopia (blue-blind)
#BB4771
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b535b3;
/* rgb */ color: rgb(181, 53, 179);
/* oklch */ color: oklch(56.7% 0.214 328.6);
Tailwind
colors: {
  custom: {
    50: '#cf78ca',
    500: '#b535b3',
    950: '#000000',
  },
}
SCSS
$custom: #b535b3;
$custom-light: #cf78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b535b3",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 300.938,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56675,
    "c": 0.21411,
    "h": 328.6
  },
  "luminance": 0.15625
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B535B3

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

Preview Lab → · Contrast checker → · Palette generator →

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