#B535BF#B535BF

#B535BF is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.224 H 324.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B535BF
RGBrgb(181, 53, 191)
HSLhsl(296, 57%, 48%)
HSVhsv(296, 72%, 75%)
CMYKcmyk(5.2%, 72.3%, 0%, 25.1%)
CIE-LABlab(47.15, 67.22, -46.27)
CIE-LCHlch(47.15, 81.61, 325.46°)
OKLaboklab(57.37% 0.1827 -0.1288)
OKLCHoklch(57.37% 0.224 324.8)
XYZxyz(29.7324, 16.1334, 50.8281)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535BF #3FBF35
analogous
#7035BF #B535BF #BF3584
triadic
#B535BF #BFB535 #35BFB5
tetradic
#B535BF #BF7035 #3FBF35 #3584BF
square
#B535BF #BF7035 #3FBF35 #3584BF
split-complementary
#B535BF #84BF35 #35BF70
monochromatic
#5A1A5F #88288F #B535BF #CA5FD3 #DA8FE0

Accessibility & contrast

On white

4.97
#B535BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B535BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B535BF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535BF#FFFFFF#000000##FFFFFF
##B535BF1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0466C3
Deuteranopia (green-blind)
#5175BC
Tritanopia (blue-blind)
#B94D77
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b535bf;
/* rgb */ color: rgb(181, 53, 191);
/* oklch */ color: oklch(57.4% 0.224 324.8);
Tailwind
colors: {
  custom: {
    50: '#cf79d3',
    500: '#b535bf',
    950: '#000000',
  },
}
SCSS
$custom: #b535bf;
$custom-light: #cf79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b535bf",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 295.652,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57369,
    "c": 0.22355,
    "h": 324.8
  },
  "luminance": 0.16132
}

Semantic roles & 50–950 ramp

primary
#B535BF
secondary
#8ACA85
accent
#E04853
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B535BF

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

Preview Lab → · Contrast checker → · Palette generator →

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