#B535A6#B535A6

#B535A6 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.204 H 333.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B535A6
RGBrgb(181, 53, 166)
HSLhsl(307, 55%, 46%)
HSVhsv(307, 71%, 71%)
CMYKcmyk(0%, 70.7%, 8.3%, 29%)
CIE-LABlab(45.81, 63.14, -33.70)
CIE-LCHlch(45.81, 71.57, 331.91°)
OKLaboklab(55.97% 0.1822 -0.0924)
OKLCHoklch(55.97% 0.204 333.1)
XYZxyz(27.2122, 15.1254, 37.5553)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535A6 #35B544
analogous
#8435B5 #B535A6 #B53566
triadic
#B535A6 #A6B535 #35A6B5
tetradic
#B535A6 #B58435 #35B544 #3566B5
square
#B535A6 #B58435 #35B544 #3566B5
split-complementary
#B535A6 #66B535 #35B584
monochromatic
#56194F #86277B #B535A6 #CE59C1 #DC88D2

Accessibility & contrast

On white

5.22
#B535A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B535A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B535A6
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535A6#FFFFFF#000000##FFFFFF
##B535A61.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3061A9
Deuteranopia (green-blind)
#5F73A3
Tritanopia (blue-blind)
#BD4169
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b535a6;
/* rgb */ color: rgb(181, 53, 166);
/* oklch */ color: oklch(56.0% 0.204 333.1);
Tailwind
colors: {
  custom: {
    50: '#cf78c1',
    500: '#b535a6',
    950: '#000000',
  },
}
SCSS
$custom: #b535a6;
$custom-light: #cf78c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b535a6",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 166
  },
  "hsl": {
    "h": 307.031,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5597,
    "c": 0.20428,
    "h": 333.1
  },
  "luminance": 0.15123
}

Semantic roles & 50–950 ramp

primary
#B535A6
secondary
#80C688
accent
#DE5B4A
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B535A6

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

Preview Lab → · Contrast checker → · Palette generator →

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