#9F35C5#9F35C5

#9F35C5 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.220 H 315.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9F35C5
RGBrgb(159, 53, 197)
HSLhsl(284, 58%, 49%)
HSVhsv(284, 73%, 77%)
CMYKcmyk(19.3%, 73.1%, 0%, 22.7%)
CIE-LABlab(44.16, 63.79, -54.74)
CIE-LCHlch(44.16, 84.06, 319.37°)
OKLaboklab(54.69% 0.1565 -0.1542)
OKLCHoklch(54.69% 0.22 315.4)
XYZxyz(25.6476, 13.9493, 54.1540)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F35C5 #5BC535
analogous
#5735C5 #9F35C5 #C535A3
triadic
#9F35C5 #C59F35 #35C59F
tetradic
#9F35C5 #C55735 #5BC535 #35A3C5
square
#9F35C5 #C55735 #5BC535 #35A3C5
split-complementary
#9F35C5 #A3C535 #35C557
monochromatic
#511B65 #782895 #9F35C5 #B762D5 #CD93E2

Accessibility & contrast

On white

5.54
#9F35C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9F35C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F35C5
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F35C5#FFFFFF#000000##FFFFFF
##9F35C51.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#316BC2
Tritanopia (blue-blind)
#9C547A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f35c5;
/* rgb */ color: rgb(159, 53, 197);
/* oklch */ color: oklch(54.7% 0.220 315.4);
Tailwind
colors: {
  custom: {
    50: '#c076d7',
    500: '#9f35c5',
    950: '#000000',
  },
}
SCSS
$custom: #9f35c5;
$custom-light: #c076d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f35c5",
  "rgb": {
    "r": 159,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 284.167,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5469,
    "c": 0.21972,
    "h": 315.4
  },
  "luminance": 0.13948
}

Semantic roles & 50–950 ramp

primary
#9F35C5
secondary
#9BCD89
accent
#E14770
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F35C5

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

Preview Lab → · Contrast checker → · Palette generator →

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