#9F35AC#9F35AC

#9F35AC is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.1% C 0.198 H 323.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9F35AC
RGBrgb(159, 53, 172)
HSLhsl(293, 53%, 44%)
HSVhsv(293, 69%, 67%)
CMYKcmyk(7.6%, 69.2%, 0%, 32.5%)
CIE-LABlab(42.61, 59.03, -42.55)
CIE-LCHlch(42.61, 72.77, 324.22°)
OKLaboklab(53.09% 0.1583 -0.1186)
OKLCHoklch(53.09% 0.198 323.2)
XYZxyz(23.0169, 12.8970, 40.2987)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F35AC #42AC35
analogous
#6435AC #9F35AC #AC357E
triadic
#9F35AC #AC9F35 #35AC9F
tetradic
#9F35AC #AC6435 #42AC35 #357EAC
square
#9F35AC #AC6435 #42AC35 #357EAC
split-complementary
#9F35AC #7EAC35 #35AC64
monochromatic
#49184E #74277D #9F35AC #BD54CA #CF83D9

Accessibility & contrast

On white

5.87
#9F35AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9F35AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F35AC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F35AC#FFFFFF#000000##FFFFFF
##9F35AC1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115DAF
Deuteranopia (green-blind)
#4869A9
Tritanopia (blue-blind)
#A1496D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f35ac;
/* rgb */ color: rgb(159, 53, 172);
/* oklch */ color: oklch(53.1% 0.198 323.2);
Tailwind
colors: {
  custom: {
    50: '#bf76c5',
    500: '#9f35ac',
    950: '#000000',
  },
}
SCSS
$custom: #9f35ac;
$custom-light: #bf76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f35ac",
  "rgb": {
    "r": 159,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 293.445,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53085,
    "c": 0.19775,
    "h": 323.2
  },
  "luminance": 0.12896
}

Semantic roles & 50–950 ramp

primary
#9F35AC
secondary
#82C27B
accent
#DC4C5B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F35AC

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

Preview Lab → · Contrast checker → · Palette generator →

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