#B535AD#B535AD

#B535AD is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.3% C 0.210 H 330.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B535AD
RGBrgb(181, 53, 173)
HSLhsl(304, 55%, 46%)
HSVhsv(304, 71%, 71%)
CMYKcmyk(0%, 70.7%, 4.4%, 29%)
CIE-LABlab(46.16, 64.24, -37.28)
CIE-LCHlch(46.16, 74.28, 329.87°)
OKLaboklab(56.34% 0.1826 -0.1027)
OKLCHoklch(56.34% 0.21 330.6)
XYZxyz(27.8719, 15.3892, 41.0295)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535AD #35B53D
analogous
#7D35B5 #B535AD #B5356D
triadic
#B535AD #ADB535 #35ADB5
tetradic
#B535AD #B57D35 #35B53D #356DB5
square
#B535AD #B57D35 #35B53D #356DB5
split-complementary
#B535AD #6DB535 #35B57D
monochromatic
#561953 #862780 #B535AD #CE59C7 #DC88D7

Accessibility & contrast

On white

5.15
#B535AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B535AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B535AD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535AD#FFFFFF#000000##FFFFFF
##B535AD1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2962B0
Deuteranopia (green-blind)
#5B74AA
Tritanopia (blue-blind)
#BC446D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b535ad;
/* rgb */ color: rgb(181, 53, 173);
/* oklch */ color: oklch(56.3% 0.210 330.6);
Tailwind
colors: {
  custom: {
    50: '#cf78c6',
    500: '#b535ad',
    950: '#000000',
  },
}
SCSS
$custom: #b535ad;
$custom-light: #cf78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b535ad",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 173
  },
  "hsl": {
    "h": 303.75,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56344,
    "c": 0.20951,
    "h": 330.6
  },
  "luminance": 0.15387
}

Semantic roles & 50–950 ramp

primary
#B535AD
secondary
#80C684
accent
#DE534A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B535AD

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

Preview Lab → · Contrast checker → · Palette generator →

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