#B535B9#B535B9

#B535B9 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.219 H 326.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B535B9
RGBrgb(181, 53, 185)
HSLhsl(298, 55%, 47%)
HSVhsv(298, 71%, 73%)
CMYKcmyk(2.2%, 71.4%, 0%, 27.5%)
CIE-LABlab(46.81, 66.21, -43.31)
CIE-LCHlch(46.81, 79.11, 326.81°)
OKLaboklab(57.02% 0.1828 -0.1202)
OKLCHoklch(57.02% 0.219 326.7)
XYZxyz(29.0856, 15.8747, 47.4217)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535B9 #39B935
analogous
#7335B9 #B535B9 #B9357B
triadic
#B535B9 #B9B535 #35B9B5
tetradic
#B535B9 #B97335 #39B935 #357BB9
square
#B535B9 #B97335 #39B935 #357BB9
split-complementary
#B535B9 #7BB935 #35B973
monochromatic
#581A5A #862789 #B535B9 #CD5BD0 #DB8BDE

Accessibility & contrast

On white

5.03
#B535B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B535B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B535B9
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535B9#FFFFFF#000000##FFFFFF
##B535B91.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1765BD
Deuteranopia (green-blind)
#5575B6
Tritanopia (blue-blind)
#BA4A74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b535b9;
/* rgb */ color: rgb(181, 53, 185);
/* oklch */ color: oklch(57.0% 0.219 326.7);
Tailwind
colors: {
  custom: {
    50: '#cf79ce',
    500: '#b535b9',
    950: '#000000',
  },
}
SCSS
$custom: #b535b9;
$custom-light: #cf79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b535b9",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 298.182,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57017,
    "c": 0.21879,
    "h": 326.7
  },
  "luminance": 0.15873
}

Semantic roles & 50–950 ramp

primary
#B535B9
secondary
#84C882
accent
#DF494E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B535B9

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

Preview Lab → · Contrast checker → · Palette generator →

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