#9D35AB#9D35AB

#9D35AB is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.7% C 0.196 H 322.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9D35AB
RGBrgb(157, 53, 171)
HSLhsl(293, 53%, 44%)
HSVhsv(293, 69%, 67%)
CMYKcmyk(8.2%, 69%, 0%, 32.9%)
CIE-LABlab(42.24, 58.40, -42.56)
CIE-LCHlch(42.24, 72.26, 323.92°)
OKLaboklab(52.74% 0.1559 -0.1187)
OKLCHoklch(52.74% 0.196 322.7)
XYZxyz(22.5277, 12.6558, 39.7764)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D35AB #43AB35
analogous
#6235AB #9D35AB #AB357E
triadic
#9D35AB #AB9D35 #35AB9D
tetradic
#9D35AB #AB6235 #43AB35 #357EAB
square
#9D35AB #AB6235 #43AB35 #357EAB
split-complementary
#9D35AB #7EAB35 #35AB62
monochromatic
#47184E #72277C #9D35AB #BC53CA #CE82D8

Accessibility & contrast

On white

5.95
#9D35AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9D35AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D35AB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D35AB#FFFFFF#000000##FFFFFF
##9D35AB1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105CAE
Deuteranopia (green-blind)
#4668A8
Tritanopia (blue-blind)
#9F496C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d35ab;
/* rgb */ color: rgb(157, 53, 171);
/* oklch */ color: oklch(52.7% 0.196 322.7);
Tailwind
colors: {
  custom: {
    50: '#bd75c4',
    500: '#9d35ab',
    950: '#000000',
  },
}
SCSS
$custom: #9d35ab;
$custom-light: #bd75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d35ab",
  "rgb": {
    "r": 157,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 292.881,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52741,
    "c": 0.19595,
    "h": 322.7
  },
  "luminance": 0.12655
}

Semantic roles & 50–950 ramp

primary
#9D35AB
secondary
#83C27A
accent
#DC4C5D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D35AB

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

Preview Lab → · Contrast checker → · Palette generator →

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