#9C35B2#9C35B2

#9C35B2 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.0% C 0.202 H 320.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9C35B2
RGBrgb(156, 53, 178)
HSLhsl(289, 54%, 45%)
HSVhsv(289, 70%, 70%)
CMYKcmyk(12.4%, 70.2%, 0%, 30.2%)
CIE-LABlab(42.51, 59.48, -46.29)
CIE-LCHlch(42.51, 75.37, 322.11°)
OKLaboklab(53.04% 0.1545 -0.1296)
OKLCHoklch(53.04% 0.202 320)
XYZxyz(23.0183, 12.8296, 43.3747)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C35B2 #4BB235
analogous
#5D35B2 #9C35B2 #B23589
triadic
#9C35B2 #B29C35 #35B29C
tetradic
#9C35B2 #B25D35 #4BB235 #3589B2
square
#9C35B2 #B25D35 #4BB235 #3589B2
split-complementary
#9C35B2 #89B235 #35B25D
monochromatic
#491954 #732783 #9C35B2 #B857CD #CC86DB

Accessibility & contrast

On white

5.89
#9C35B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9C35B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C35B2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C35B2#FFFFFF#000000##FFFFFF
##9C35B21.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#4068AF
Tritanopia (blue-blind)
#9D4C70
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c35b2;
/* rgb */ color: rgb(156, 53, 178);
/* oklch */ color: oklch(53.0% 0.202 320.0);
Tailwind
colors: {
  custom: {
    50: '#bd75ca',
    500: '#9c35b2',
    950: '#000000',
  },
}
SCSS
$custom: #9c35b2;
$custom-light: #bd75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9c35b2",
  "rgb": {
    "r": 156,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 289.44,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53035,
    "c": 0.20165,
    "h": 320
  },
  "luminance": 0.12828
}

Semantic roles & 50–950 ramp

primary
#9C35B2
secondary
#8AC57E
accent
#DD4A64
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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