#B535BD#B535BD

#B535BD is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.3% C 0.222 H 325.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B535BD
RGBrgb(181, 53, 189)
HSLhsl(296, 56%, 47%)
HSVhsv(296, 72%, 74%)
CMYKcmyk(4.2%, 72%, 0%, 25.9%)
CIE-LABlab(47.03, 66.88, -45.29)
CIE-LCHlch(47.03, 80.77, 325.90°)
OKLaboklab(57.25% 0.1828 -0.1259)
OKLCHoklch(57.25% 0.222 325.4)
XYZxyz(29.5138, 16.0460, 49.6769)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535BD #3DBD35
analogous
#7135BD #B535BD #BD3581
triadic
#B535BD #BDB535 #35BDB5
tetradic
#B535BD #BD7135 #3DBD35 #3581BD
square
#B535BD #BD7135 #3DBD35 #3581BD
split-complementary
#B535BD #81BD35 #35BD71
monochromatic
#591A5D #87288D #B535BD #CB5DD2 #DA8DDF

Accessibility & contrast

On white

4.99
#B535BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B535BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B535BD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535BD#FFFFFF#000000##FFFFFF
##B535BD1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C65C1
Deuteranopia (green-blind)
#5275BA
Tritanopia (blue-blind)
#B94C76
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b535bd;
/* rgb */ color: rgb(181, 53, 189);
/* oklch */ color: oklch(57.3% 0.222 325.4);
Tailwind
colors: {
  custom: {
    50: '#cf79d1',
    500: '#b535bd',
    950: '#000000',
  },
}
SCSS
$custom: #b535bd;
$custom-light: #cf79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b535bd",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 296.471,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57251,
    "c": 0.22195,
    "h": 325.4
  },
  "luminance": 0.16044
}

Semantic roles & 50–950 ramp

primary
#B535BD
secondary
#88CA84
accent
#DF4851
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B535BD

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

Preview Lab → · Contrast checker → · Palette generator →

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