#B535B8#B535B8

#B535B8 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.218 H 327.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B535B8
RGBrgb(181, 53, 184)
HSLhsl(299, 55%, 46%)
HSVhsv(299, 71%, 72%)
CMYKcmyk(1.6%, 71.2%, 0%, 27.8%)
CIE-LABlab(46.75, 66.04, -42.81)
CIE-LCHlch(46.75, 78.70, 327.05°)
OKLaboklab(56.96% 0.1828 -0.1187)
OKLCHoklch(56.96% 0.218 327)
XYZxyz(28.9804, 15.8327, 46.8677)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535B8 #38B835
analogous
#7435B8 #B535B8 #B8357A
triadic
#B535B8 #B8B535 #35B8B5
tetradic
#B535B8 #B87435 #38B835 #357AB8
square
#B535B8 #B87435 #38B835 #357AB8
split-complementary
#B535B8 #7AB835 #35B874
monochromatic
#581A59 #862788 #B535B8 #CD5BD0 #DB8ADD

Accessibility & contrast

On white

5.04
#B535B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B535B8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535B8#FFFFFF#000000##FFFFFF
##B535B81.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1964BC
Deuteranopia (green-blind)
#5574B5
Tritanopia (blue-blind)
#BA4A73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b535b8;
/* rgb */ color: rgb(181, 53, 184);
/* oklch */ color: oklch(57.0% 0.218 327.0);
Tailwind
colors: {
  custom: {
    50: '#cf79ce',
    500: '#b535b8',
    950: '#000000',
  },
}
SCSS
$custom: #b535b8;
$custom-light: #cf79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b535b8",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 298.626,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56959,
    "c": 0.218,
    "h": 327
  },
  "luminance": 0.15831
}

Semantic roles & 50–950 ramp

primary
#B535B8
secondary
#83C781
accent
#DF494D
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B535B8

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

Preview Lab → · Contrast checker → · Palette generator →

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