#9535B5#9535B5

#9535B5 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.3% C 0.202 H 316.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9535B5
RGBrgb(149, 53, 181)
HSLhsl(285, 55%, 46%)
HSVhsv(285, 71%, 71%)
CMYKcmyk(17.7%, 70.7%, 0%, 29%)
CIE-LABlab(41.65, 58.55, -49.49)
CIE-LCHlch(41.65, 76.67, 319.79°)
OKLaboklab(52.27% 0.1457 -0.1392)
OKLCHoklch(52.27% 0.202 316.3)
XYZxyz(22.0067, 12.2728, 44.9168)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9535B5 #55B535
analogous
#5535B5 #9535B5 #B53595
triadic
#9535B5 #B59535 #35B595
tetradic
#9535B5 #B55535 #55B535 #3595B5
square
#9535B5 #B55535 #55B535 #3595B5
split-complementary
#9535B5 #95B535 #35B555
monochromatic
#471956 #6E2786 #9535B5 #B159CE #C788DC

Accessibility & contrast

On white

6.08
#9535B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9535B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9535B5
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9535B5#FFFFFF#000000##FFFFFF
##9535B51.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#3565B2
Tritanopia (blue-blind)
#934F71
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9535b5;
/* rgb */ color: rgb(149, 53, 181);
/* oklch */ color: oklch(52.3% 0.202 316.3);
Tailwind
colors: {
  custom: {
    50: '#b875cc',
    500: '#9535b5',
    950: '#000000',
  },
}
SCSS
$custom: #9535b5;
$custom-light: #b875cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9535b5",
  "rgb": {
    "r": 149,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 285,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52269,
    "c": 0.20153,
    "h": 316.3
  },
  "luminance": 0.12272
}

Semantic roles & 50–950 ramp

primary
#9535B5
secondary
#91C680
accent
#DE4A6F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9535B5

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

Preview Lab → · Contrast checker → · Palette generator →

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