#9F35BC#9F35BC

#9F35BC is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.212 H 318.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9F35BC
RGBrgb(159, 53, 188)
HSLhsl(287, 56%, 47%)
HSVhsv(287, 72%, 74%)
CMYKcmyk(15.4%, 71.8%, 0%, 26.3%)
CIE-LABlab(43.58, 62.04, -50.42)
CIE-LCHlch(43.58, 79.94, 320.90°)
OKLaboklab(54.09% 0.1574 -0.1416)
OKLCHoklch(54.09% 0.212 318)
XYZxyz(24.6470, 13.5491, 48.8842)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F35BC #52BC35
analogous
#5B35BC #9F35BC #BC3596
triadic
#9F35BC #BC9F35 #35BC9F
tetradic
#9F35BC #BC5B35 #52BC35 #3596BC
square
#9F35BC #BC5B35 #52BC35 #3596BC
split-complementary
#9F35BC #96BC35 #35BC5B
monochromatic
#4E1A5D #77288C #9F35BC #B85DD1 #CD8DDF

Accessibility & contrast

On white

5.66
#9F35BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9F35BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F35BC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F35BC#FFFFFF#000000##FFFFFF
##9F35BC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f35bc;
/* rgb */ color: rgb(159, 53, 188);
/* oklch */ color: oklch(54.1% 0.212 318.0);
Tailwind
colors: {
  custom: {
    50: '#bf76d1',
    500: '#9f35bc',
    950: '#000000',
  },
}
SCSS
$custom: #9f35bc;
$custom-light: #bf76d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f35bc",
  "rgb": {
    "r": 159,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 287.111,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54092,
    "c": 0.21172,
    "h": 318
  },
  "luminance": 0.13548
}

Semantic roles & 50–950 ramp

primary
#9F35BC
secondary
#93C984
accent
#DF4869
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F35BC

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

Preview Lab → · Contrast checker → · Palette generator →

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