#9B35BC#9B35BC

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

Color values

HEX#9B35BC
RGBrgb(155, 53, 188)
HSLhsl(285, 56%, 47%)
HSVhsv(285, 72%, 74%)
CMYKcmyk(17.6%, 71.8%, 0%, 26.3%)
CIE-LABlab(42.98, 61.20, -51.41)
CIE-LCHlch(42.98, 79.93, 319.97°)
OKLaboklab(53.55% 0.1525 -0.1446)
OKLCHoklch(53.55% 0.21 316.5)
XYZxyz(23.8664, 13.1466, 48.8476)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B35BC #56BC35
analogous
#5735BC #9B35BC #BC359A
triadic
#9B35BC #BC9B35 #35BC9B
tetradic
#9B35BC #BC5735 #56BC35 #359ABC
square
#9B35BC #BC5735 #56BC35 #359ABC
split-complementary
#9B35BC #9ABC35 #35BC57
monochromatic
#4C1A5D #74288C #9B35BC #B55DD1 #CB8DDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B35BC#FFFFFF#000000##FFFFFF
##9B35BC1.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)
#005FC0
Deuteranopia (green-blind)
#3668B9
Tritanopia (blue-blind)
#995175
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b35bc;
/* rgb */ color: rgb(155, 53, 188);
/* oklch */ color: oklch(53.5% 0.210 316.5);
Tailwind
colors: {
  custom: {
    50: '#bc76d1',
    500: '#9b35bc',
    950: '#000000',
  },
}
SCSS
$custom: #9b35bc;
$custom-light: #bc76d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b35bc",
  "rgb": {
    "r": 155,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 285.333,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53547,
    "c": 0.21019,
    "h": 316.5
  },
  "luminance": 0.13146
}

Semantic roles & 50–950 ramp

primary
#9B35BC
secondary
#95C984
accent
#DF486D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9B35BC

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

Preview Lab → · Contrast checker → · Palette generator →

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