#B535A0#B535A0

#B535A0 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.7% C 0.200 H 335.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B535A0
RGBrgb(181, 53, 160)
HSLhsl(310, 55%, 46%)
HSVhsv(310, 71%, 71%)
CMYKcmyk(0%, 70.7%, 11.6%, 29%)
CIE-LABlab(45.51, 62.22, -30.59)
CIE-LCHlch(45.51, 69.34, 333.82°)
OKLaboklab(55.66% 0.1817 -0.0835)
OKLCHoklch(55.66% 0.2 335.3)
XYZxyz(26.6746, 14.9103, 34.7240)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535A0 #35B54A
analogous
#8A35B5 #B535A0 #B53560
triadic
#B535A0 #A0B535 #35A0B5
tetradic
#B535A0 #B58A35 #35B54A #3560B5
square
#B535A0 #B58A35 #35B54A #3560B5
split-complementary
#B535A0 #60B535 #35B58A
monochromatic
#56194C #862776 #B535A0 #CE59BB #DC88CE

Accessibility & contrast

On white

5.27
#B535A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B535A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B535A0
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535A0#FFFFFF#000000##FFFFFF
##B535A01.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A3
Deuteranopia (green-blind)
#61739D
Tritanopia (blue-blind)
#BE3E66
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b535a0;
/* rgb */ color: rgb(181, 53, 160);
/* oklch */ color: oklch(55.7% 0.200 335.3);
Tailwind
colors: {
  custom: {
    50: '#cf78bc',
    500: '#b535a0',
    950: '#000000',
  },
}
SCSS
$custom: #b535a0;
$custom-light: #cf78bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b535a0",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 160
  },
  "hsl": {
    "h": 309.844,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55662,
    "c": 0.19991,
    "h": 335.3
  },
  "luminance": 0.14908
}

Semantic roles & 50–950 ramp

primary
#B535A0
secondary
#80C68B
accent
#DE624A
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B535A0

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

Preview Lab → · Contrast checker → · Palette generator →

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