#9535A2#9535A2

#9535A2 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.184 H 322.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9535A2
RGBrgb(149, 53, 162)
HSLhsl(293, 51%, 42%)
HSVhsv(293, 67%, 64%)
CMYKcmyk(8%, 67.3%, 0%, 36.5%)
CIE-LABlab(40.48, 54.86, -40.06)
CIE-LCHlch(40.48, 67.93, 323.86°)
OKLaboklab(51.06% 0.1466 -0.1116)
OKLCHoklch(51.06% 0.184 322.7)
XYZxyz(20.1885, 11.5455, 35.3405)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9535A2 #42A235
analogous
#5F35A2 #9535A2 #A23579
triadic
#9535A2 #A29535 #35A295
tetradic
#9535A2 #A25F35 #42A235 #3579A2
square
#9535A2 #A25F35 #42A235 #3579A2
split-complementary
#9535A2 #79A235 #35A25F
monochromatic
#401746 #6B2674 #9535A2 #B74FC5 #CA7DD4

Accessibility & contrast

On white

6.35
#9535A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9535A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9535A2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9535A2#FFFFFF#000000##FFFFFF
##9535A21.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1858A5
Deuteranopia (green-blind)
#45639F
Tritanopia (blue-blind)
#974767
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9535a2;
/* rgb */ color: rgb(149, 53, 162);
/* oklch */ color: oklch(51.1% 0.184 322.7);
Tailwind
colors: {
  custom: {
    50: '#b774be',
    500: '#9535a2',
    950: '#000000',
  },
}
SCSS
$custom: #9535a2;
$custom-light: #b774be;
$custom-dark: #000000;
JSON
{
  "hex": "#9535a2",
  "rgb": {
    "r": 149,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 292.844,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51064,
    "c": 0.18425,
    "h": 322.7
  },
  "luminance": 0.11544
}

Semantic roles & 50–950 ramp

primary
#9535A2
secondary
#7EBD75
accent
#DA4E5E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9535A2

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

Preview Lab → · Contrast checker → · Palette generator →

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