#9F35AE#9F35AE

#9F35AE is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.2% C 0.199 H 322.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9F35AE
RGBrgb(159, 53, 174)
HSLhsl(293, 53%, 45%)
HSVhsv(293, 70%, 68%)
CMYKcmyk(8.6%, 69.5%, 0%, 31.8%)
CIE-LABlab(42.72, 59.40, -43.55)
CIE-LCHlch(42.72, 73.65, 323.76°)
OKLaboklab(53.21% 0.1582 -0.1215)
OKLCHoklch(53.21% 0.199 322.5)
XYZxyz(23.2104, 12.9744, 41.3180)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F35AE #44AE35
analogous
#6335AE #9F35AE #AE3581
triadic
#9F35AE #AE9F35 #35AE9F
tetradic
#9F35AE #AE6335 #44AE35 #3581AE
square
#9F35AE #AE6335 #44AE35 #3581AE
split-complementary
#9F35AE #81AE35 #35AE63
monochromatic
#491850 #74277F #9F35AE #BD55CB #CF84DA

Accessibility & contrast

On white

5.84
#9F35AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9F35AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F35AE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F35AE#FFFFFF#000000##FFFFFF
##9F35AE1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5DB1
Deuteranopia (green-blind)
#4669AB
Tritanopia (blue-blind)
#A14A6E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f35ae;
/* rgb */ color: rgb(159, 53, 174);
/* oklch */ color: oklch(53.2% 0.199 322.5);
Tailwind
colors: {
  custom: {
    50: '#bf76c7',
    500: '#9f35ae',
    950: '#000000',
  },
}
SCSS
$custom: #9f35ae;
$custom-light: #bf76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f35ae",
  "rgb": {
    "r": 159,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 292.562,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53207,
    "c": 0.19947,
    "h": 322.5
  },
  "luminance": 0.12973
}

Semantic roles & 50–950 ramp

primary
#9F35AE
secondary
#85C37C
accent
#DD4B5D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F35AE

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

Preview Lab → · Contrast checker → · Palette generator →

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