#B535A2#B535A2

#B535A2 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.8% C 0.201 H 334.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B535A2
RGBrgb(181, 53, 162)
HSLhsl(309, 55%, 46%)
HSVhsv(309, 71%, 71%)
CMYKcmyk(0%, 70.7%, 10.5%, 29%)
CIE-LABlab(45.61, 62.53, -31.63)
CIE-LCHlch(45.61, 70.07, 333.17°)
OKLaboklab(55.76% 0.1819 -0.0864)
OKLCHoklch(55.76% 0.201 334.6)
XYZxyz(26.8510, 14.9809, 35.6528)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535A2 #35B548
analogous
#8835B5 #B535A2 #B53562
triadic
#B535A2 #A2B535 #35A2B5
tetradic
#B535A2 #B58835 #35B548 #3562B5
square
#B535A2 #B58835 #35B548 #3562B5
split-complementary
#B535A2 #62B535 #35B588
monochromatic
#56194D #862778 #B535A2 #CE59BD #DC88D0

Accessibility & contrast

On white

5.26
#B535A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B535A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B535A2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535A2#FFFFFF#000000##FFFFFF
##B535A21.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A5
Deuteranopia (green-blind)
#60739F
Tritanopia (blue-blind)
#BE3F67
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b535a2;
/* rgb */ color: rgb(181, 53, 162);
/* oklch */ color: oklch(55.8% 0.201 334.6);
Tailwind
colors: {
  custom: {
    50: '#cf78be',
    500: '#b535a2',
    950: '#000000',
  },
}
SCSS
$custom: #b535a2;
$custom-light: #cf78be;
$custom-dark: #000000;
JSON
{
  "hex": "#b535a2",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 308.906,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55764,
    "c": 0.20135,
    "h": 334.6
  },
  "luminance": 0.14979
}

Semantic roles & 50–950 ramp

primary
#B535A2
secondary
#80C68A
accent
#DE604A
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B535A2

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

Preview Lab → · Contrast checker → · Palette generator →

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