#9B35B2#9B35B2

#9B35B2 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 52.9% C 0.201 H 319.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9B35B2
RGBrgb(155, 53, 178)
HSLhsl(289, 54%, 45%)
HSVhsv(289, 70%, 70%)
CMYKcmyk(12.9%, 70.2%, 0%, 30.2%)
CIE-LABlab(42.35, 59.26, -46.54)
CIE-LCHlch(42.35, 75.35, 321.86°)
OKLaboklab(52.9% 0.1533 -0.1303)
OKLCHoklch(52.9% 0.201 319.6)
XYZxyz(22.8255, 12.7302, 43.3657)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B35B2 #4CB235
analogous
#5C35B2 #9B35B2 #B2358A
triadic
#9B35B2 #B29B35 #35B29B
tetradic
#9B35B2 #B25C35 #4CB235 #358AB2
square
#9B35B2 #B25C35 #4CB235 #358AB2
split-complementary
#9B35B2 #8AB235 #35B25C
monochromatic
#491954 #722783 #9B35B2 #B757CD #CB86DB

Accessibility & contrast

On white

5.92
#9B35B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9B35B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B35B2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B35B2#FFFFFF#000000##FFFFFF
##9B35B21.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3F67AF
Tritanopia (blue-blind)
#9B4C70
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b35b2;
/* rgb */ color: rgb(155, 53, 178);
/* oklch */ color: oklch(52.9% 0.201 319.6);
Tailwind
colors: {
  custom: {
    50: '#bc75ca',
    500: '#9b35b2',
    950: '#000000',
  },
}
SCSS
$custom: #9b35b2;
$custom-light: #bc75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9b35b2",
  "rgb": {
    "r": 155,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 288.96,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52896,
    "c": 0.20123,
    "h": 319.6
  },
  "luminance": 0.12729
}

Semantic roles & 50–950 ramp

primary
#9B35B2
secondary
#8BC57E
accent
#DD4A65
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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