#9F35C1#9F35C1

#9F35C1 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.216 H 316.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9F35C1
RGBrgb(159, 53, 193)
HSLhsl(285, 57%, 48%)
HSVhsv(285, 73%, 76%)
CMYKcmyk(17.6%, 72.5%, 0%, 24.3%)
CIE-LABlab(43.90, 63.01, -52.83)
CIE-LCHlch(43.90, 82.22, 320.02°)
OKLaboklab(54.42% 0.1569 -0.1486)
OKLCHoklch(54.42% 0.216 316.6)
XYZxyz(25.1954, 13.7684, 51.7721)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F35C1 #57C135
analogous
#5935C1 #9F35C1 #C1359D
triadic
#9F35C1 #C19F35 #35C19F
tetradic
#9F35C1 #C15935 #57C135 #359DC1
square
#9F35C1 #C15935 #57C135 #359DC1
split-complementary
#9F35C1 #9DC135 #35C159
monochromatic
#501B61 #772891 #9F35C1 #B760D3 #CD90E0

Accessibility & contrast

On white

5.59
#9F35C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9F35C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F35C1
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F35C1#FFFFFF#000000##FFFFFF
##9F35C11.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#366BBE
Tritanopia (blue-blind)
#9D5278
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f35c1;
/* rgb */ color: rgb(159, 53, 193);
/* oklch */ color: oklch(54.4% 0.216 316.6);
Tailwind
colors: {
  custom: {
    50: '#bf76d4',
    500: '#9f35c1',
    950: '#000000',
  },
}
SCSS
$custom: #9f35c1;
$custom-light: #bf76d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f35c1",
  "rgb": {
    "r": 159,
    "g": 53,
    "b": 193
  },
  "hsl": {
    "h": 285.429,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54421,
    "c": 0.21616,
    "h": 316.6
  },
  "luminance": 0.13767
}

Semantic roles & 50–950 ramp

primary
#9F35C1
secondary
#97CB87
accent
#E0486D
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F35C1

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

Preview Lab → · Contrast checker → · Palette generator →

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