#9535A5#9535A5

#9535A5 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.2% C 0.187 H 321.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9535A5
RGBrgb(149, 53, 165)
HSLhsl(291, 51%, 43%)
HSVhsv(291, 68%, 65%)
CMYKcmyk(9.7%, 67.9%, 0%, 35.3%)
CIE-LABlab(40.66, 55.43, -41.58)
CIE-LCHlch(40.66, 69.29, 323.13°)
OKLaboklab(51.25% 0.1466 -0.116)
OKLCHoklch(51.25% 0.187 321.6)
XYZxyz(20.4583, 11.6535, 36.7618)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9535A5 #45A535
analogous
#5D35A5 #9535A5 #A5357D
triadic
#9535A5 #A59535 #35A595
tetradic
#9535A5 #A55D35 #45A535 #357DA5
square
#9535A5 #A55D35 #45A535 #357DA5
split-complementary
#9535A5 #7DA535 #35A55D
monochromatic
#411748 #6B2677 #9535A5 #B650C7 #C97FD6

Accessibility & contrast

On white

6.31
#9535A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9535A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9535A5
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9535A5#FFFFFF#000000##FFFFFF
##9535A51.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1259A8
Deuteranopia (green-blind)
#4263A2
Tritanopia (blue-blind)
#974869
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9535a5;
/* rgb */ color: rgb(149, 53, 165);
/* oklch */ color: oklch(51.2% 0.187 321.6);
Tailwind
colors: {
  custom: {
    50: '#b774c0',
    500: '#9535a5',
    950: '#000000',
  },
}
SCSS
$custom: #9535a5;
$custom-light: #b774c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9535a5",
  "rgb": {
    "r": 149,
    "g": 53,
    "b": 165
  },
  "hsl": {
    "h": 291.429,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51246,
    "c": 0.18695,
    "h": 321.6
  },
  "luminance": 0.11652
}

Semantic roles & 50–950 ramp

primary
#9535A5
secondary
#81BF77
accent
#DB4D61
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9535A5

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

Preview Lab → · Contrast checker → · Palette generator →

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