#9535AF#9535AF

#9535AF is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.9% C 0.196 H 318.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9535AF
RGBrgb(149, 53, 175)
HSLhsl(287, 54%, 45%)
HSVhsv(287, 70%, 69%)
CMYKcmyk(14.9%, 69.7%, 0%, 31.4%)
CIE-LABlab(41.27, 57.36, -46.56)
CIE-LCHlch(41.27, 73.88, 320.94°)
OKLaboklab(51.88% 0.1462 -0.1306)
OKLCHoklch(51.88% 0.196 318.2)
XYZxyz(21.4043, 12.0319, 41.7440)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9535AF #4FAF35
analogous
#5835AF #9535AF #AF358C
triadic
#9535AF #AF9535 #35AF95
tetradic
#9535AF #AF5835 #4FAF35 #358CAF
square
#9535AF #AF5835 #4FAF35 #358CAF
split-complementary
#9535AF #8CAF35 #35AF58
monochromatic
#451951 #6D2780 #9535AF #B256CC #C885DA

Accessibility & contrast

On white

6.17
#9535AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9535AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9535AF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9535AF#FFFFFF#000000##FFFFFF
##9535AF1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#3B64AC
Tritanopia (blue-blind)
#944C6E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9535af;
/* rgb */ color: rgb(149, 53, 175);
/* oklch */ color: oklch(51.9% 0.196 318.2);
Tailwind
colors: {
  custom: {
    50: '#b875c7',
    500: '#9535af',
    950: '#000000',
  },
}
SCSS
$custom: #9535af;
$custom-light: #b875c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9535af",
  "rgb": {
    "r": 149,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 287.213,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51877,
    "c": 0.19602,
    "h": 318.2
  },
  "luminance": 0.12031
}

Semantic roles & 50–950 ramp

primary
#9535AF
secondary
#8BC47C
accent
#DD4B6A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9535AF

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

Preview Lab → · Contrast checker → · Palette generator →

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