#9E35A5#9E35A5

#9E35A5 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.5% C 0.191 H 325.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9E35A5
RGBrgb(158, 53, 165)
HSLhsl(296, 51%, 43%)
HSVhsv(296, 68%, 65%)
CMYKcmyk(4.2%, 67.9%, 0%, 35.3%)
CIE-LABlab(42.05, 57.54, -39.28)
CIE-LCHlch(42.05, 69.67, 325.68°)
OKLaboklab(52.53% 0.1571 -0.1091)
OKLCHoklch(52.53% 0.191 325.2)
XYZxyz(22.1647, 12.5333, 36.8417)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E35A5 #3CA535
analogous
#6635A5 #9E35A5 #A53574
triadic
#9E35A5 #A59E35 #35A59E
tetradic
#9E35A5 #A56635 #3CA535 #3574A5
square
#9E35A5 #A56635 #3CA535 #3574A5
split-complementary
#9E35A5 #74A535 #35A566
monochromatic
#451748 #722677 #9E35A5 #BF50C7 #D07FD6

Accessibility & contrast

On white

5.99
#9E35A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9E35A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E35A5
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E35A5#FFFFFF#000000##FFFFFF
##9E35A51.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5BA8
Deuteranopia (green-blind)
#4B68A2
Tritanopia (blue-blind)
#A24669
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e35a5;
/* rgb */ color: rgb(158, 53, 165);
/* oklch */ color: oklch(52.5% 0.191 325.2);
Tailwind
colors: {
  custom: {
    50: '#be75c0',
    500: '#9e35a5',
    950: '#000000',
  },
}
SCSS
$custom: #9e35a5;
$custom-light: #be75c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e35a5",
  "rgb": {
    "r": 158,
    "g": 53,
    "b": 165
  },
  "hsl": {
    "h": 296.25,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52526,
    "c": 0.19127,
    "h": 325.2
  },
  "luminance": 0.12532
}

Semantic roles & 50–950 ramp

primary
#9E35A5
secondary
#7BBF77
accent
#DB4D56
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9E35A5

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

Preview Lab → · Contrast checker → · Palette generator →

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