#9D35B2#9D35B2

#9D35B2 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.202 H 320.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9D35B2
RGBrgb(157, 53, 178)
HSLhsl(290, 54%, 45%)
HSVhsv(290, 70%, 70%)
CMYKcmyk(11.8%, 70.2%, 0%, 30.2%)
CIE-LABlab(42.66, 59.70, -46.04)
CIE-LCHlch(42.66, 75.39, 322.36°)
OKLaboklab(53.17% 0.1557 -0.1288)
OKLCHoklch(53.17% 0.202 320.4)
XYZxyz(23.2126, 12.9298, 43.3839)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D35B2 #4AB235
analogous
#5E35B2 #9D35B2 #B23588
triadic
#9D35B2 #B29D35 #35B29D
tetradic
#9D35B2 #B25E35 #4AB235 #3588B2
square
#9D35B2 #B25E35 #4AB235 #3588B2
split-complementary
#9D35B2 #88B235 #35B25E
monochromatic
#4A1954 #732783 #9D35B2 #B957CD #CD86DB

Accessibility & contrast

On white

5.86
#9D35B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D35B2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D35B2#FFFFFF#000000##FFFFFF
##9D35B21.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#4168AF
Tritanopia (blue-blind)
#9E4C70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d35b2;
/* rgb */ color: rgb(157, 53, 178);
/* oklch */ color: oklch(53.2% 0.202 320.4);
Tailwind
colors: {
  custom: {
    50: '#bd76ca',
    500: '#9d35b2',
    950: '#000000',
  },
}
SCSS
$custom: #9d35b2;
$custom-light: #bd76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9d35b2",
  "rgb": {
    "r": 157,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 289.92,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53174,
    "c": 0.20207,
    "h": 320.4
  },
  "luminance": 0.12929
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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