#9535AB#9535AB

#9535AB is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.6% C 0.192 H 319.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9535AB
RGBrgb(149, 53, 171)
HSLhsl(289, 53%, 44%)
HSVhsv(289, 69%, 67%)
CMYKcmyk(12.9%, 69%, 0%, 32.9%)
CIE-LABlab(41.02, 56.58, -44.58)
CIE-LCHlch(41.02, 72.03, 321.77°)
OKLaboklab(51.62% 0.1464 -0.1248)
OKLCHoklch(51.62% 0.192 319.6)
XYZxyz(21.0173, 11.8770, 39.7056)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9535AB #4BAB35
analogous
#5A35AB #9535AB #AB3586
triadic
#9535AB #AB9535 #35AB95
tetradic
#9535AB #AB5A35 #4BAB35 #3586AB
square
#9535AB #AB5A35 #4BAB35 #3586AB
split-complementary
#9535AB #86AB35 #35AB5A
monochromatic
#44184E #6C277C #9535AB #B453CA #C882D8

Accessibility & contrast

On white

6.22
#9535AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9535AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9535AB
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9535AB#FFFFFF#000000##FFFFFF
##9535AB1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#3E64A8
Tritanopia (blue-blind)
#954B6C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9535ab;
/* rgb */ color: rgb(149, 53, 171);
/* oklch */ color: oklch(51.6% 0.192 319.6);
Tailwind
colors: {
  custom: {
    50: '#b874c4',
    500: '#9535ab',
    950: '#000000',
  },
}
SCSS
$custom: #9535ab;
$custom-light: #b874c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9535ab",
  "rgb": {
    "r": 149,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 288.814,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51621,
    "c": 0.19237,
    "h": 319.6
  },
  "luminance": 0.11876
}

Semantic roles & 50–950 ramp

primary
#9535AB
secondary
#87C27A
accent
#DC4C67
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9535AB

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

Preview Lab → · Contrast checker → · Palette generator →

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