#B535AF#B535AF

#B535AF is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.5% C 0.211 H 330.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B535AF
RGBrgb(181, 53, 175)
HSLhsl(303, 55%, 46%)
HSVhsv(303, 71%, 71%)
CMYKcmyk(0%, 70.7%, 3.3%, 29%)
CIE-LABlab(46.27, 64.56, -38.30)
CIE-LCHlch(46.27, 75.07, 329.33°)
OKLaboklab(56.45% 0.1827 -0.1056)
OKLCHoklch(56.45% 0.211 330)
XYZxyz(28.0669, 15.4672, 42.0563)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535AF #35B53B
analogous
#7B35B5 #B535AF #B5356F
triadic
#B535AF #AFB535 #35AFB5
tetradic
#B535AF #B57B35 #35B53B #356FB5
square
#B535AF #B57B35 #35B53B #356FB5
split-complementary
#B535AF #6FB535 #35B57B
monochromatic
#561953 #862781 #B535AF #CE59C9 #DC88D8

Accessibility & contrast

On white

5.13
#B535AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B535AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B535AF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535AF#FFFFFF#000000##FFFFFF
##B535AF1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2762B2
Deuteranopia (green-blind)
#5A74AC
Tritanopia (blue-blind)
#BC456E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b535af;
/* rgb */ color: rgb(181, 53, 175);
/* oklch */ color: oklch(56.5% 0.211 330.0);
Tailwind
colors: {
  custom: {
    50: '#cf78c7',
    500: '#b535af',
    950: '#000000',
  },
}
SCSS
$custom: #b535af;
$custom-light: #cf78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b535af",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 302.813,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56453,
    "c": 0.21103,
    "h": 330
  },
  "luminance": 0.15465
}

Semantic roles & 50–950 ramp

primary
#B535AF
secondary
#80C683
accent
#DE514A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B535AF

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

Preview Lab → · Contrast checker → · Palette generator →

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