#9F35A4#9F35A4

#9F35A4 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.6% C 0.191 H 326.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9F35A4
RGBrgb(159, 53, 164)
HSLhsl(297, 51%, 43%)
HSVhsv(297, 68%, 64%)
CMYKcmyk(3%, 67.7%, 0%, 35.7%)
CIE-LABlab(42.15, 57.60, -38.51)
CIE-LCHlch(42.15, 69.28, 326.23°)
OKLaboklab(52.61% 0.1583 -0.1068)
OKLCHoklch(52.61% 0.191 326)
XYZxyz(22.2716, 12.5989, 36.3735)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F35A4 #3AA435
analogous
#6735A4 #9F35A4 #A43572
triadic
#9F35A4 #A49F35 #35A49F
tetradic
#9F35A4 #A46735 #3AA435 #3572A4
square
#9F35A4 #A46735 #3AA435 #3572A4
split-complementary
#9F35A4 #72A435 #35A467
monochromatic
#451747 #722676 #9F35A4 #C150C6 #D17ED5

Accessibility & contrast

On white

5.97
#9F35A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9F35A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F35A4
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F35A4#FFFFFF#000000##FFFFFF
##9F35A41.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205BA7
Deuteranopia (green-blind)
#4D68A1
Tritanopia (blue-blind)
#A34668
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f35a4;
/* rgb */ color: rgb(159, 53, 164);
/* oklch */ color: oklch(52.6% 0.191 326.0);
Tailwind
colors: {
  custom: {
    50: '#bf75bf',
    500: '#9f35a4',
    950: '#000000',
  },
}
SCSS
$custom: #9f35a4;
$custom-light: #bf75bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f35a4",
  "rgb": {
    "r": 159,
    "g": 53,
    "b": 164
  },
  "hsl": {
    "h": 297.297,
    "s": 51.152,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52611,
    "c": 0.19093,
    "h": 326
  },
  "luminance": 0.12597
}

Semantic roles & 50–950 ramp

primary
#9F35A4
secondary
#7ABE76
accent
#DB4D54
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9F35A4

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

Preview Lab → · Contrast checker → · Palette generator →

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