#B535A7#B535A7

#B535A7 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.0% C 0.205 H 332.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B535A7
RGBrgb(181, 53, 167)
HSLhsl(307, 55%, 46%)
HSVhsv(307, 71%, 71%)
CMYKcmyk(0%, 70.7%, 7.7%, 29%)
CIE-LABlab(45.86, 63.30, -34.21)
CIE-LCHlch(45.86, 71.95, 331.61°)
OKLaboklab(56.02% 0.1823 -0.0939)
OKLCHoklch(56.02% 0.205 332.8)
XYZxyz(27.3043, 15.1622, 38.0403)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535A7 #35B543
analogous
#8335B5 #B535A7 #B53567
triadic
#B535A7 #A7B535 #35A7B5
tetradic
#B535A7 #B58335 #35B543 #3567B5
square
#B535A7 #B58335 #35B543 #3567B5
split-complementary
#B535A7 #67B535 #35B583
monochromatic
#561950 #86277B #B535A7 #CE59C1 #DC88D3

Accessibility & contrast

On white

5.21
#B535A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B535A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B535A7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535A7#FFFFFF#000000##FFFFFF
##B535A71.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F61AA
Deuteranopia (green-blind)
#5E73A4
Tritanopia (blue-blind)
#BD426A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b535a7;
/* rgb */ color: rgb(181, 53, 167);
/* oklch */ color: oklch(56.0% 0.205 332.8);
Tailwind
colors: {
  custom: {
    50: '#cf78c1',
    500: '#b535a7',
    950: '#000000',
  },
}
SCSS
$custom: #b535a7;
$custom-light: #cf78c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b535a7",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 167
  },
  "hsl": {
    "h": 306.563,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56023,
    "c": 0.20501,
    "h": 332.8
  },
  "luminance": 0.1516
}

Semantic roles & 50–950 ramp

primary
#B535A7
secondary
#80C687
accent
#DE5A4A
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B535A7

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

Preview Lab → · Contrast checker → · Palette generator →

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