#9535B2#9535B2

#9535B2 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.1% C 0.199 H 317.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9535B2
RGBrgb(149, 53, 178)
HSLhsl(286, 54%, 45%)
HSVhsv(286, 70%, 70%)
CMYKcmyk(16.3%, 70.2%, 0%, 30.2%)
CIE-LABlab(41.46, 57.95, -48.03)
CIE-LCHlch(41.46, 75.27, 320.35°)
OKLaboklab(52.07% 0.146 -0.1349)
OKLCHoklch(52.07% 0.199 317.3)
XYZxyz(21.7022, 12.1510, 43.3131)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9535B2 #52B235
analogous
#5635B2 #9535B2 #B23590
triadic
#9535B2 #B29535 #35B295
tetradic
#9535B2 #B25635 #52B235 #3590B2
square
#9535B2 #B25635 #52B235 #3590B2
split-complementary
#9535B2 #90B235 #35B256
monochromatic
#461954 #6E2783 #9535B2 #B257CD #C786DB

Accessibility & contrast

On white

6.12
#9535B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9535B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9535B2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9535B2#FFFFFF#000000##FFFFFF
##9535B21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#3865AF
Tritanopia (blue-blind)
#944E70
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9535b2;
/* rgb */ color: rgb(149, 53, 178);
/* oklch */ color: oklch(52.1% 0.199 317.3);
Tailwind
colors: {
  custom: {
    50: '#b875ca',
    500: '#9535b2',
    950: '#000000',
  },
}
SCSS
$custom: #9535b2;
$custom-light: #b875ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9535b2",
  "rgb": {
    "r": 149,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 286.08,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52072,
    "c": 0.19877,
    "h": 317.3
  },
  "luminance": 0.1215
}

Semantic roles & 50–950 ramp

primary
#9535B2
secondary
#8EC57E
accent
#DD4A6C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9535B2

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

Preview Lab → · Contrast checker → · Palette generator →

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