#9F35AA#9F35AA

#9F35AA is a mid, vivid purple. Relative luminance 0.128; OKLCH L 53.0% C 0.196 H 323.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9F35AA
RGBrgb(159, 53, 170)
HSLhsl(294, 52%, 44%)
HSVhsv(294, 69%, 67%)
CMYKcmyk(6.5%, 68.8%, 0%, 33.3%)
CIE-LABlab(42.49, 58.67, -41.54)
CIE-LCHlch(42.49, 71.89, 324.70°)
OKLaboklab(52.97% 0.1583 -0.1156)
OKLCHoklch(52.97% 0.196 323.8)
XYZxyz(22.8262, 12.8208, 39.2948)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F35AA #40AA35
analogous
#6435AA #9F35AA #AA357A
triadic
#9F35AA #AA9F35 #35AA9F
tetradic
#9F35AA #AA6435 #40AA35 #357AAA
square
#9F35AA #AA6435 #40AA35 #357AAA
split-complementary
#9F35AA #7AAA35 #35AA64
monochromatic
#48184D #73267B #9F35AA #BE53C9 #D082D8

Accessibility & contrast

On white

5.89
#9F35AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9F35AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F35AA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F35AA#FFFFFF#000000##FFFFFF
##9F35AA1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165CAD
Deuteranopia (green-blind)
#4969A7
Tritanopia (blue-blind)
#A2486B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f35aa;
/* rgb */ color: rgb(159, 53, 170);
/* oklch */ color: oklch(53.0% 0.196 323.8);
Tailwind
colors: {
  custom: {
    50: '#bf75c4',
    500: '#9f35aa',
    950: '#000000',
  },
}
SCSS
$custom: #9f35aa;
$custom-light: #bf75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f35aa",
  "rgb": {
    "r": 159,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 294.359,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52965,
    "c": 0.19603,
    "h": 323.8
  },
  "luminance": 0.12819
}

Semantic roles & 50–950 ramp

primary
#9F35AA
secondary
#80C17A
accent
#DC4C59
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F35AA

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

Preview Lab → · Contrast checker → · Palette generator →

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