#9D35B4#9D35B4

#9D35B4 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.3% C 0.204 H 319.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9D35B4
RGBrgb(157, 53, 180)
HSLhsl(289, 55%, 46%)
HSVhsv(289, 71%, 71%)
CMYKcmyk(12.8%, 70.6%, 0%, 29.4%)
CIE-LABlab(42.78, 60.08, -47.02)
CIE-LCHlch(42.78, 76.29, 321.95°)
OKLaboklab(53.3% 0.1556 -0.1317)
OKLCHoklch(53.3% 0.204 319.8)
XYZxyz(23.4149, 13.0107, 44.4491)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D35B4 #4CB435
analogous
#5D35B4 #9D35B4 #B4358B
triadic
#9D35B4 #B49D35 #35B49D
tetradic
#9D35B4 #B45D35 #4CB435 #358BB4
square
#9D35B4 #B45D35 #4CB435 #358BB4
split-complementary
#9D35B4 #8BB435 #35B45D
monochromatic
#4B1955 #742785 #9D35B4 #B958CE #CD88DC

Accessibility & contrast

On white

5.83
#9D35B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9D35B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D35B4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D35B4#FFFFFF#000000##FFFFFF
##9D35B41.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#3F69B1
Tritanopia (blue-blind)
#9D4D71
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d35b4;
/* rgb */ color: rgb(157, 53, 180);
/* oklch */ color: oklch(53.3% 0.204 319.8);
Tailwind
colors: {
  custom: {
    50: '#be76cb',
    500: '#9d35b4',
    950: '#000000',
  },
}
SCSS
$custom: #9d35b4;
$custom-light: #be76cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d35b4",
  "rgb": {
    "r": 157,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 289.134,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53301,
    "c": 0.20384,
    "h": 319.8
  },
  "luminance": 0.1301
}

Semantic roles & 50–950 ramp

primary
#9D35B4
secondary
#8CC67F
accent
#DE4A65
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9D35B4

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

Preview Lab → · Contrast checker → · Palette generator →

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