#9F35B2#9F35B2

#9F35B2 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.5% C 0.203 H 321.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9F35B2
RGBrgb(159, 53, 178)
HSLhsl(291, 54%, 45%)
HSVhsv(291, 70%, 70%)
CMYKcmyk(10.7%, 70.2%, 0%, 30.2%)
CIE-LABlab(42.96, 60.14, -45.53)
CIE-LCHlch(42.96, 75.43, 322.87°)
OKLaboklab(53.45% 0.1581 -0.1273)
OKLCHoklch(53.45% 0.203 321.2)
XYZxyz(23.6061, 13.1327, 43.4023)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F35B2 #48B235
analogous
#6035B2 #9F35B2 #B23586
triadic
#9F35B2 #B29F35 #35B29F
tetradic
#9F35B2 #B26035 #48B235 #3586B2
square
#9F35B2 #B26035 #48B235 #3586B2
split-complementary
#9F35B2 #86B235 #35B260
monochromatic
#4B1954 #752783 #9F35B2 #BB57CD #CE86DB

Accessibility & contrast

On white

5.79
#9F35B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9F35B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F35B2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F35B2#FFFFFF#000000##FFFFFF
##9F35B21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#4369AF
Tritanopia (blue-blind)
#A04C70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f35b2;
/* rgb */ color: rgb(159, 53, 178);
/* oklch */ color: oklch(53.5% 0.203 321.2);
Tailwind
colors: {
  custom: {
    50: '#bf76ca',
    500: '#9f35b2',
    950: '#000000',
  },
}
SCSS
$custom: #9f35b2;
$custom-light: #bf76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9f35b2",
  "rgb": {
    "r": 159,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 290.88,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53454,
    "c": 0.20295,
    "h": 321.2
  },
  "luminance": 0.13131
}

Semantic roles & 50–950 ramp

primary
#9F35B2
secondary
#89C57E
accent
#DD4A61
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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