#9A35BA#9A35BA

#9A35BA is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.3% C 0.208 H 316.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9A35BA
RGBrgb(154, 53, 186)
HSLhsl(286, 56%, 47%)
HSVhsv(286, 72%, 73%)
CMYKcmyk(17.2%, 71.5%, 0%, 27.1%)
CIE-LABlab(42.71, 60.60, -50.69)
CIE-LCHlch(42.71, 79.01, 320.09°)
OKLaboklab(53.28% 0.1515 -0.1425)
OKLCHoklch(53.28% 0.208 316.7)
XYZxyz(23.4611, 12.9624, 47.7110)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A35BA #55BA35
analogous
#5835BA #9A35BA #BA3598
triadic
#9A35BA #BA9A35 #35BA9A
tetradic
#9A35BA #BA5835 #55BA35 #3598BA
square
#9A35BA #BA5835 #55BA35 #3598BA
split-complementary
#9A35BA #98BA35 #35BA58
monochromatic
#4B1A5B #73278A #9A35BA #B45CD0 #CA8BDE

Accessibility & contrast

On white

5.85
#9A35BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9A35BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A35BA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A35BA#FFFFFF#000000##FFFFFF
##9A35BA1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#3668B7
Tritanopia (blue-blind)
#985074
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9a35ba;
/* rgb */ color: rgb(154, 53, 186);
/* oklch */ color: oklch(53.3% 0.208 316.7);
Tailwind
colors: {
  custom: {
    50: '#bc75cf',
    500: '#9a35ba',
    950: '#000000',
  },
}
SCSS
$custom: #9a35ba;
$custom-light: #bc75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a35ba",
  "rgb": {
    "r": 154,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 285.564,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53278,
    "c": 0.208,
    "h": 316.7
  },
  "luminance": 0.12961
}

Semantic roles & 50–950 ramp

primary
#9A35BA
secondary
#93C882
accent
#DF496D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A35BA

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

Preview Lab → · Contrast checker → · Palette generator →

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