#9F35BA#9F35BA

#9F35BA is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.0% C 0.210 H 318.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9F35BA
RGBrgb(159, 53, 186)
HSLhsl(288, 56%, 47%)
HSVhsv(288, 72%, 73%)
CMYKcmyk(14.5%, 71.5%, 0%, 27.1%)
CIE-LABlab(43.45, 61.65, -49.45)
CIE-LCHlch(43.45, 79.04, 321.27°)
OKLaboklab(53.96% 0.1576 -0.1388)
OKLCHoklch(53.96% 0.21 318.6)
XYZxyz(24.4329, 13.4634, 47.7566)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F35BA #50BA35
analogous
#5D35BA #9F35BA #BA3593
triadic
#9F35BA #BA9F35 #35BA9F
tetradic
#9F35BA #BA5D35 #50BA35 #3593BA
square
#9F35BA #BA5D35 #50BA35 #3593BA
split-complementary
#9F35BA #93BA35 #35BA5D
monochromatic
#4E1A5B #76278A #9F35BA #B95CD0 #CD8BDE

Accessibility & contrast

On white

5.69
#9F35BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9F35BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F35BA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F35BA#FFFFFF#000000##FFFFFF
##9F35BA1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#3D6AB7
Tritanopia (blue-blind)
#9F4F74
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f35ba;
/* rgb */ color: rgb(159, 53, 186);
/* oklch */ color: oklch(54.0% 0.210 318.6);
Tailwind
colors: {
  custom: {
    50: '#bf76cf',
    500: '#9f35ba',
    950: '#000000',
  },
}
SCSS
$custom: #9f35ba;
$custom-light: #bf76cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f35ba",
  "rgb": {
    "r": 159,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 287.82,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53962,
    "c": 0.20996,
    "h": 318.6
  },
  "luminance": 0.13462
}

Semantic roles & 50–950 ramp

primary
#9F35BA
secondary
#91C882
accent
#DF4967
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F35BA

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

Preview Lab → · Contrast checker → · Palette generator →

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