#9D35B3#9D35B3

#9D35B3 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.2% C 0.203 H 320.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9D35B3
RGBrgb(157, 53, 179)
HSLhsl(290, 54%, 45%)
HSVhsv(290, 70%, 70%)
CMYKcmyk(12.3%, 70.4%, 0%, 29.8%)
CIE-LABlab(42.72, 59.89, -46.53)
CIE-LCHlch(42.72, 75.84, 322.16°)
OKLaboklab(53.24% 0.1556 -0.1303)
OKLCHoklch(53.24% 0.203 320.1)
XYZxyz(23.3134, 12.9701, 43.9146)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D35B3 #4BB335
analogous
#5E35B3 #9D35B3 #B3358A
triadic
#9D35B3 #B39D35 #35B39D
tetradic
#9D35B3 #B35E35 #4BB335 #358AB3
square
#9D35B3 #B35E35 #4BB335 #358AB3
split-complementary
#9D35B3 #8AB335 #35B35E
monochromatic
#4A1955 #742784 #9D35B3 #B958CD #CD87DB

Accessibility & contrast

On white

5.84
#9D35B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9D35B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D35B3
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D35B3#FFFFFF#000000##FFFFFF
##9D35B31.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#4068B0
Tritanopia (blue-blind)
#9E4C70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d35b3;
/* rgb */ color: rgb(157, 53, 179);
/* oklch */ color: oklch(53.2% 0.203 320.1);
Tailwind
colors: {
  custom: {
    50: '#be76ca',
    500: '#9d35b3',
    950: '#000000',
  },
}
SCSS
$custom: #9d35b3;
$custom-light: #be76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9d35b3",
  "rgb": {
    "r": 157,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 289.524,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53237,
    "c": 0.20296,
    "h": 320.1
  },
  "luminance": 0.12969
}

Semantic roles & 50–950 ramp

primary
#9D35B3
secondary
#8BC57F
accent
#DE4A64
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D35B3

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

Preview Lab → · Contrast checker → · Palette generator →

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