#9535B8#9535B8

#9535B8 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.204 H 315.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9535B8
RGBrgb(149, 53, 184)
HSLhsl(284, 55%, 46%)
HSVhsv(284, 71%, 72%)
CMYKcmyk(19%, 71.2%, 0%, 27.8%)
CIE-LABlab(41.84, 59.15, -50.95)
CIE-LCHlch(41.84, 78.07, 319.26°)
OKLaboklab(52.47% 0.1455 -0.1434)
OKLCHoklch(52.47% 0.204 315.4)
XYZxyz(22.3179, 12.3973, 46.5554)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9535B8 #58B835
analogous
#5335B8 #9535B8 #B8359A
triadic
#9535B8 #B89535 #35B895
tetradic
#9535B8 #B85335 #58B835 #359AB8
square
#9535B8 #B85335 #58B835 #359AB8
split-complementary
#9535B8 #9AB835 #35B853
monochromatic
#481A59 #6F2788 #9535B8 #B05BD0 #C78ADD

Accessibility & contrast

On white

6.04
#9535B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9535B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9535B8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9535B8#FFFFFF#000000##FFFFFF
##9535B81.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#3265B5
Tritanopia (blue-blind)
#925073
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9535b8;
/* rgb */ color: rgb(149, 53, 184);
/* oklch */ color: oklch(52.5% 0.204 315.4);
Tailwind
colors: {
  custom: {
    50: '#b875ce',
    500: '#9535b8',
    950: '#000000',
  },
}
SCSS
$custom: #9535b8;
$custom-light: #b875ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9535b8",
  "rgb": {
    "r": 149,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 283.969,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5247,
    "c": 0.2043,
    "h": 315.4
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

primary
#9535B8
secondary
#94C781
accent
#DF4971
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9535B8

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

Preview Lab → · Contrast checker → · Palette generator →

#9535B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva