#9F35C2#9F35C2

#9F35C2 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.217 H 316.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9F35C2
RGBrgb(159, 53, 194)
HSLhsl(285, 57%, 48%)
HSVhsv(285, 73%, 76%)
CMYKcmyk(18%, 72.7%, 0%, 23.9%)
CIE-LABlab(43.96, 63.20, -53.31)
CIE-LCHlch(43.96, 82.68, 319.85°)
OKLaboklab(54.49% 0.1568 -0.15)
OKLCHoklch(54.49% 0.217 316.3)
XYZxyz(25.3073, 13.8132, 52.3616)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F35C2 #58C235
analogous
#5835C2 #9F35C2 #C2359E
triadic
#9F35C2 #C29F35 #35C29F
tetradic
#9F35C2 #C25835 #58C235 #359EC2
square
#9F35C2 #C25835 #58C235 #359EC2
split-complementary
#9F35C2 #9EC235 #35C258
monochromatic
#501B62 #782892 #9F35C2 #B760D4 #CD91E1

Accessibility & contrast

On white

5.58
#9F35C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9F35C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F35C2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F35C2#FFFFFF#000000##FFFFFF
##9F35C21.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#356BBF
Tritanopia (blue-blind)
#9D5379
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f35c2;
/* rgb */ color: rgb(159, 53, 194);
/* oklch */ color: oklch(54.5% 0.217 316.3);
Tailwind
colors: {
  custom: {
    50: '#bf76d5',
    500: '#9f35c2',
    950: '#000000',
  },
}
SCSS
$custom: #9f35c2;
$custom-light: #bf76d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f35c2",
  "rgb": {
    "r": 159,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 285.106,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54488,
    "c": 0.21705,
    "h": 316.3
  },
  "luminance": 0.13812
}

Semantic roles & 50–950 ramp

primary
#9F35C2
secondary
#98CC87
accent
#E0476D
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F35C2

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

Preview Lab → · Contrast checker → · Palette generator →

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