#B535BC#B535BC

#B535BC is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.2% C 0.221 H 325.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B535BC
RGBrgb(181, 53, 188)
HSLhsl(297, 56%, 47%)
HSVhsv(297, 72%, 74%)
CMYKcmyk(3.7%, 71.8%, 0%, 26.3%)
CIE-LABlab(46.98, 66.71, -44.79)
CIE-LCHlch(46.98, 80.36, 326.12°)
OKLaboklab(57.19% 0.1828 -0.1245)
OKLCHoklch(57.19% 0.221 325.7)
XYZxyz(29.4056, 16.0027, 49.1072)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535BC #3CBC35
analogous
#7235BC #B535BC #BC3580
triadic
#B535BC #BCB535 #35BCB5
tetradic
#B535BC #BC7235 #3CBC35 #3580BC
square
#B535BC #BC7235 #3CBC35 #3580BC
split-complementary
#B535BC #80BC35 #35BC72
monochromatic
#591A5D #87288C #B535BC #CB5DD1 #DB8DDF

Accessibility & contrast

On white

5.00
#B535BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B535BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B535BC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535BC#FFFFFF#000000##FFFFFF
##B535BC1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F65C0
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#B94B76
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b535bc;
/* rgb */ color: rgb(181, 53, 188);
/* oklch */ color: oklch(57.2% 0.221 325.7);
Tailwind
colors: {
  custom: {
    50: '#cf79d1',
    500: '#b535bc',
    950: '#000000',
  },
}
SCSS
$custom: #b535bc;
$custom-light: #cf79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b535bc",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 296.889,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57192,
    "c": 0.22116,
    "h": 325.7
  },
  "luminance": 0.16001
}

Semantic roles & 50–950 ramp

primary
#B535BC
secondary
#87C984
accent
#DF4850
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B535BC

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

Preview Lab → · Contrast checker → · Palette generator →

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