#9E35AA#9E35AA

#9E35AA is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.8% C 0.196 H 323.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9E35AA
RGBrgb(158, 53, 170)
HSLhsl(294, 52%, 44%)
HSVhsv(294, 69%, 67%)
CMYKcmyk(7.1%, 68.8%, 0%, 33.3%)
CIE-LABlab(42.34, 58.44, -41.80)
CIE-LCHlch(42.34, 71.85, 324.42°)
OKLaboklab(52.82% 0.1571 -0.1164)
OKLCHoklch(52.82% 0.196 323.5)
XYZxyz(22.6287, 12.7189, 39.2855)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E35AA #41AA35
analogous
#6335AA #9E35AA #AA357B
triadic
#9E35AA #AA9E35 #35AA9E
tetradic
#9E35AA #AA6335 #41AA35 #357BAA
square
#9E35AA #AA6335 #41AA35 #357BAA
split-complementary
#9E35AA #7BAA35 #35AA63
monochromatic
#47184D #73267B #9E35AA #BD53C9 #CF82D8

Accessibility & contrast

On white

5.93
#9E35AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9E35AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E35AA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E35AA#FFFFFF#000000##FFFFFF
##9E35AA1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145CAD
Deuteranopia (green-blind)
#4868A7
Tritanopia (blue-blind)
#A1486B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e35aa;
/* rgb */ color: rgb(158, 53, 170);
/* oklch */ color: oklch(52.8% 0.196 323.5);
Tailwind
colors: {
  custom: {
    50: '#be75c4',
    500: '#9e35aa',
    950: '#000000',
  },
}
SCSS
$custom: #9e35aa;
$custom-light: #be75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e35aa",
  "rgb": {
    "r": 158,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 293.846,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52823,
    "c": 0.19556,
    "h": 323.5
  },
  "luminance": 0.12718
}

Semantic roles & 50–950 ramp

primary
#9E35AA
secondary
#81C17A
accent
#DC4C5B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E35AA

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

Preview Lab → · Contrast checker → · Palette generator →

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