#9A35AC#9A35AC

#9A35AC is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.4% C 0.195 H 321.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9A35AC
RGBrgb(154, 53, 172)
HSLhsl(291, 53%, 44%)
HSVhsv(291, 69%, 67%)
CMYKcmyk(10.5%, 69.2%, 0%, 32.5%)
CIE-LABlab(41.84, 57.90, -43.82)
CIE-LCHlch(41.84, 72.61, 322.88°)
OKLaboklab(52.38% 0.1524 -0.1224)
OKLCHoklch(52.38% 0.195 321.2)
XYZxyz(22.0451, 12.3959, 40.2532)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A35AC #47AC35
analogous
#5E35AC #9A35AC #AC3583
triadic
#9A35AC #AC9A35 #35AC9A
tetradic
#9A35AC #AC5E35 #47AC35 #3583AC
square
#9A35AC #AC5E35 #47AC35 #3583AC
split-complementary
#9A35AC #83AC35 #35AC5E
monochromatic
#46184E #70277D #9A35AC #B854CA #CC83D9

Accessibility & contrast

On white

6.04
#9A35AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9A35AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A35AC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A35AC#FFFFFF#000000##FFFFFF
##9A35AC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075CAF
Deuteranopia (green-blind)
#4266A9
Tritanopia (blue-blind)
#9B4A6D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a35ac;
/* rgb */ color: rgb(154, 53, 172);
/* oklch */ color: oklch(52.4% 0.195 321.2);
Tailwind
colors: {
  custom: {
    50: '#bb75c5',
    500: '#9a35ac',
    950: '#000000',
  },
}
SCSS
$custom: #9a35ac;
$custom-light: #bb75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a35ac",
  "rgb": {
    "r": 154,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 290.924,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5238,
    "c": 0.19546,
    "h": 321.2
  },
  "luminance": 0.12395
}

Semantic roles & 50–950 ramp

primary
#9A35AC
secondary
#85C27B
accent
#DC4C61
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A35AC

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

Preview Lab → · Contrast checker → · Palette generator →

#9A35AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva