#9D35A2#9D35A2

#9D35A2 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.188 H 325.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9D35A2
RGBrgb(157, 53, 162)
HSLhsl(297, 51%, 42%)
HSVhsv(297, 67%, 64%)
CMYKcmyk(3.1%, 67.3%, 0%, 36.5%)
CIE-LABlab(41.73, 56.77, -38.01)
CIE-LCHlch(41.73, 68.32, 326.19°)
OKLaboklab(52.21% 0.1559 -0.1054)
OKLCHoklch(52.21% 0.188 325.9)
XYZxyz(21.6989, 12.3243, 35.4113)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D35A2 #3AA235
analogous
#6735A2 #9D35A2 #A23570
triadic
#9D35A2 #A29D35 #35A29D
tetradic
#9D35A2 #A26735 #3AA235 #3570A2
square
#9D35A2 #A26735 #3AA235 #3570A2
split-complementary
#9D35A2 #70A235 #35A267
monochromatic
#441746 #702674 #9D35A2 #C04FC5 #D07DD4

Accessibility & contrast

On white

6.06
#9D35A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9D35A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D35A2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D35A2#FFFFFF#000000##FFFFFF
##9D35A21.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205AA5
Deuteranopia (green-blind)
#4C679F
Tritanopia (blue-blind)
#A14567
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d35a2;
/* rgb */ color: rgb(157, 53, 162);
/* oklch */ color: oklch(52.2% 0.188 325.9);
Tailwind
colors: {
  custom: {
    50: '#bd75be',
    500: '#9d35a2',
    950: '#000000',
  },
}
SCSS
$custom: #9d35a2;
$custom-light: #bd75be;
$custom-dark: #000000;
JSON
{
  "hex": "#9d35a2",
  "rgb": {
    "r": 157,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 297.248,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52207,
    "c": 0.18822,
    "h": 325.9
  },
  "luminance": 0.12323
}

Semantic roles & 50–950 ramp

primary
#9D35A2
secondary
#79BD75
accent
#DA4E54
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9D35A2

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

Preview Lab → · Contrast checker → · Palette generator →

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