#B535BE#B535BE

#B535BE is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.3% C 0.223 H 325.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B535BE
RGBrgb(181, 53, 190)
HSLhsl(296, 56%, 48%)
HSVhsv(296, 72%, 75%)
CMYKcmyk(4.7%, 72.1%, 0%, 25.5%)
CIE-LABlab(47.09, 67.05, -45.78)
CIE-LCHlch(47.09, 81.19, 325.68°)
OKLaboklab(57.31% 0.1827 -0.1274)
OKLCHoklch(57.31% 0.223 325.1)
XYZxyz(29.6227, 16.0896, 50.2506)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535BE #3EBE35
analogous
#7035BE #B535BE #BE3583
triadic
#B535BE #BEB535 #35BEB5
tetradic
#B535BE #BE7035 #3EBE35 #3583BE
square
#B535BE #BE7035 #3EBE35 #3583BE
split-complementary
#B535BE #83BE35 #35BE70
monochromatic
#5A1A5E #87288E #B535BE #CA5ED2 #DA8EDF

Accessibility & contrast

On white

4.98
#B535BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B535BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B535BE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535BE#FFFFFF#000000##FFFFFF
##B535BE1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0866C2
Deuteranopia (green-blind)
#5175BB
Tritanopia (blue-blind)
#B94C77
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b535be;
/* rgb */ color: rgb(181, 53, 190);
/* oklch */ color: oklch(57.3% 0.223 325.1);
Tailwind
colors: {
  custom: {
    50: '#cf79d2',
    500: '#b535be',
    950: '#000000',
  },
}
SCSS
$custom: #b535be;
$custom-light: #cf79d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b535be",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 296.058,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5731,
    "c": 0.22275,
    "h": 325.1
  },
  "luminance": 0.16088
}

Semantic roles & 50–950 ramp

primary
#B535BE
secondary
#89CA85
accent
#E04852
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B535BE

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

Preview Lab → · Contrast checker → · Palette generator →

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