#9F35AB#9F35AB

#9F35AB is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.0% C 0.197 H 323.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9F35AB
RGBrgb(159, 53, 171)
HSLhsl(294, 53%, 44%)
HSVhsv(294, 69%, 67%)
CMYKcmyk(7%, 69%, 0%, 32.9%)
CIE-LABlab(42.55, 58.85, -42.05)
CIE-LCHlch(42.55, 72.33, 324.46°)
OKLaboklab(53.03% 0.1583 -0.1171)
OKLCHoklch(53.03% 0.197 323.5)
XYZxyz(22.9212, 12.8587, 39.7949)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F35AB #41AB35
analogous
#6435AB #9F35AB #AB357C
triadic
#9F35AB #AB9F35 #35AB9F
tetradic
#9F35AB #AB6435 #41AB35 #357CAB
square
#9F35AB #AB6435 #41AB35 #357CAB
split-complementary
#9F35AB #7CAB35 #35AB64
monochromatic
#48184E #74277C #9F35AB #BE53CA #D082D8

Accessibility & contrast

On white

5.88
#9F35AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9F35AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F35AB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F35AB#FFFFFF#000000##FFFFFF
##9F35AB1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145CAE
Deuteranopia (green-blind)
#4869A8
Tritanopia (blue-blind)
#A2496C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f35ab;
/* rgb */ color: rgb(159, 53, 171);
/* oklch */ color: oklch(53.0% 0.197 323.5);
Tailwind
colors: {
  custom: {
    50: '#bf75c4',
    500: '#9f35ab',
    950: '#000000',
  },
}
SCSS
$custom: #9f35ab;
$custom-light: #bf75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f35ab",
  "rgb": {
    "r": 159,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 293.898,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53025,
    "c": 0.19689,
    "h": 323.5
  },
  "luminance": 0.12857
}

Semantic roles & 50–950 ramp

primary
#9F35AB
secondary
#81C27A
accent
#DC4C5A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F35AB

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

Preview Lab → · Contrast checker → · Palette generator →

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