#B535A4#B535A4

#B535A4 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.203 H 333.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B535A4
RGBrgb(181, 53, 164)
HSLhsl(308, 55%, 46%)
HSVhsv(308, 71%, 71%)
CMYKcmyk(0%, 70.7%, 9.4%, 29%)
CIE-LABlab(45.71, 62.83, -32.67)
CIE-LCHlch(45.71, 70.82, 332.53°)
OKLaboklab(55.87% 0.182 -0.0894)
OKLCHoklch(55.87% 0.203 333.8)
XYZxyz(27.0302, 15.0526, 36.5966)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535A4 #35B546
analogous
#8635B5 #B535A4 #B53564
triadic
#B535A4 #A4B535 #35A4B5
tetradic
#B535A4 #B58635 #35B546 #3564B5
square
#B535A4 #B58635 #35B546 #3564B5
split-complementary
#B535A4 #64B535 #35B586
monochromatic
#56194E #862779 #B535A4 #CE59BF #DC88D1

Accessibility & contrast

On white

5.24
#B535A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B535A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B535A4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535A4#FFFFFF#000000##FFFFFF
##B535A41.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3260A7
Deuteranopia (green-blind)
#6073A1
Tritanopia (blue-blind)
#BD4068
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b535a4;
/* rgb */ color: rgb(181, 53, 164);
/* oklch */ color: oklch(55.9% 0.203 333.8);
Tailwind
colors: {
  custom: {
    50: '#cf78bf',
    500: '#b535a4',
    950: '#000000',
  },
}
SCSS
$custom: #b535a4;
$custom-light: #cf78bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b535a4",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 164
  },
  "hsl": {
    "h": 307.969,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55866,
    "c": 0.20281,
    "h": 333.8
  },
  "luminance": 0.1505
}

Semantic roles & 50–950 ramp

primary
#B535A4
secondary
#80C689
accent
#DE5D4A
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B535A4

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

Preview Lab → · Contrast checker → · Palette generator →

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