#B535AA#B535AA

#B535AA is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.2% C 0.207 H 331.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B535AA
RGBrgb(181, 53, 170)
HSLhsl(305, 55%, 46%)
HSVhsv(305, 71%, 71%)
CMYKcmyk(0%, 70.7%, 6.1%, 29%)
CIE-LABlab(46.01, 63.77, -35.75)
CIE-LCHlch(46.01, 73.10, 330.72°)
OKLaboklab(56.18% 0.1825 -0.0983)
OKLCHoklch(56.18% 0.207 331.7)
XYZxyz(27.5849, 15.2744, 39.5178)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535AA #35B540
analogous
#8035B5 #B535AA #B5356A
triadic
#B535AA #AAB535 #35AAB5
tetradic
#B535AA #B58035 #35B540 #356AB5
square
#B535AA #B58035 #35B540 #356AB5
split-complementary
#B535AA #6AB535 #35B580
monochromatic
#561951 #86277E #B535AA #CE59C4 #DC88D5

Accessibility & contrast

On white

5.18
#B535AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B535AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B535AA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535AA#FFFFFF#000000##FFFFFF
##B535AA1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C61AD
Deuteranopia (green-blind)
#5D73A7
Tritanopia (blue-blind)
#BC436C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b535aa;
/* rgb */ color: rgb(181, 53, 170);
/* oklch */ color: oklch(56.2% 0.207 331.7);
Tailwind
colors: {
  custom: {
    50: '#cf78c4',
    500: '#b535aa',
    950: '#000000',
  },
}
SCSS
$custom: #b535aa;
$custom-light: #cf78c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b535aa",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 305.156,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56182,
    "c": 0.20725,
    "h": 331.7
  },
  "luminance": 0.15272
}

Semantic roles & 50–950 ramp

primary
#B535AA
secondary
#80C686
accent
#DE564A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B535AA

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

Preview Lab → · Contrast checker → · Palette generator →

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