#B535AC#B535AC

#B535AC is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.3% C 0.209 H 331.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B535AC
RGBrgb(181, 53, 172)
HSLhsl(304, 55%, 46%)
HSVhsv(304, 71%, 71%)
CMYKcmyk(0%, 70.7%, 5%, 29%)
CIE-LABlab(46.11, 64.08, -36.77)
CIE-LCHlch(46.11, 73.88, 330.15°)
OKLaboklab(56.29% 0.1826 -0.1013)
OKLCHoklch(56.29% 0.209 331)
XYZxyz(27.7755, 15.3507, 40.5218)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535AC #35B53E
analogous
#7E35B5 #B535AC #B5356C
triadic
#B535AC #ACB535 #35ACB5
tetradic
#B535AC #B57E35 #35B53E #356CB5
square
#B535AC #B57E35 #35B53E #356CB5
split-complementary
#B535AC #6CB535 #35B57E
monochromatic
#561952 #86277F #B535AC #CE59C6 #DC88D6

Accessibility & contrast

On white

5.16
#B535AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B535AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B535AC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535AC#FFFFFF#000000##FFFFFF
##B535AC1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A62AF
Deuteranopia (green-blind)
#5C73A9
Tritanopia (blue-blind)
#BC446D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b535ac;
/* rgb */ color: rgb(181, 53, 172);
/* oklch */ color: oklch(56.3% 0.209 331.0);
Tailwind
colors: {
  custom: {
    50: '#cf78c5',
    500: '#b535ac',
    950: '#000000',
  },
}
SCSS
$custom: #b535ac;
$custom-light: #cf78c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b535ac",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 304.219,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56289,
    "c": 0.20876,
    "h": 331
  },
  "luminance": 0.15349
}

Semantic roles & 50–950 ramp

primary
#B535AC
secondary
#80C685
accent
#DE544A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B535AC

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

Preview Lab → · Contrast checker → · Palette generator →

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