#B535AE#B535AE

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

Color values

HEX#B535AE
RGBrgb(181, 53, 174)
HSLhsl(303, 55%, 46%)
HSVhsv(303, 71%, 71%)
CMYKcmyk(0%, 70.7%, 3.9%, 29%)
CIE-LABlab(46.22, 64.40, -37.79)
CIE-LCHlch(46.22, 74.67, 329.60°)
OKLaboklab(56.4% 0.1826 -0.1042)
OKLCHoklch(56.4% 0.21 330.3)
XYZxyz(27.9690, 15.4281, 41.5410)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535AE #35B53C
analogous
#7C35B5 #B535AE #B5356E
triadic
#B535AE #AEB535 #35AEB5
tetradic
#B535AE #B57C35 #35B53C #356EB5
square
#B535AE #B57C35 #35B53C #356EB5
split-complementary
#B535AE #6EB535 #35B57C
monochromatic
#561953 #862780 #B535AE #CE59C8 #DC88D8

Accessibility & contrast

On white

5.14
#B535AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B535AE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535AE#FFFFFF#000000##FFFFFF
##B535AE1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2862B1
Deuteranopia (green-blind)
#5B74AB
Tritanopia (blue-blind)
#BC456E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b535ae;
/* rgb */ color: rgb(181, 53, 174);
/* oklch */ color: oklch(56.4% 0.210 330.3);
Tailwind
colors: {
  custom: {
    50: '#cf78c6',
    500: '#b535ae',
    950: '#000000',
  },
}
SCSS
$custom: #b535ae;
$custom-light: #cf78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b535ae",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 303.281,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56398,
    "c": 0.21026,
    "h": 330.3
  },
  "luminance": 0.15426
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B535AE

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

Preview Lab → · Contrast checker → · Palette generator →

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