#9F35BB#9F35BB

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

Color values

HEX#9F35BB
RGBrgb(159, 53, 187)
HSLhsl(287, 56%, 47%)
HSVhsv(287, 72%, 73%)
CMYKcmyk(15%, 71.7%, 0%, 26.7%)
CIE-LABlab(43.52, 61.85, -49.94)
CIE-LCHlch(43.52, 79.49, 321.08°)
OKLaboklab(54.03% 0.1575 -0.1402)
OKLCHoklch(54.03% 0.211 318.3)
XYZxyz(24.5396, 13.5061, 48.3184)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F35BB #51BB35
analogous
#5C35BB #9F35BB #BB3594
triadic
#9F35BB #BB9F35 #35BB9F
tetradic
#9F35BB #BB5C35 #51BB35 #3594BB
square
#9F35BB #BB5C35 #51BB35 #3594BB
split-complementary
#9F35BB #94BB35 #35BB5C
monochromatic
#4E1A5C #76278B #9F35BB #B95CD1 #CD8CDE

Accessibility & contrast

On white

5.67
#9F35BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9F35BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F35BB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F35BB#FFFFFF#000000##FFFFFF
##9F35BB1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#3C6AB8
Tritanopia (blue-blind)
#9E5075
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f35bb;
/* rgb */ color: rgb(159, 53, 187);
/* oklch */ color: oklch(54.0% 0.211 318.3);
Tailwind
colors: {
  custom: {
    50: '#bf76d0',
    500: '#9f35bb',
    950: '#000000',
  },
}
SCSS
$custom: #9f35bb;
$custom-light: #bf76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f35bb",
  "rgb": {
    "r": 159,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 287.463,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54027,
    "c": 0.21084,
    "h": 318.3
  },
  "luminance": 0.13505
}

Semantic roles & 50–950 ramp

primary
#9F35BB
secondary
#92C983
accent
#DF4968
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F35BB

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

Preview Lab → · Contrast checker → · Palette generator →

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