#9A35B2#9A35B2

#9A35B2 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.8% C 0.201 H 319.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9A35B2
RGBrgb(154, 53, 178)
HSLhsl(288, 54%, 45%)
HSVhsv(288, 70%, 70%)
CMYKcmyk(13.5%, 70.2%, 0%, 30.2%)
CIE-LABlab(42.20, 59.04, -46.79)
CIE-LCHlch(42.20, 75.33, 321.60°)
OKLaboklab(52.76% 0.1521 -0.1311)
OKLCHoklch(52.76% 0.201 319.2)
XYZxyz(22.6344, 12.6317, 43.3568)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A35B2 #4DB235
analogous
#5B35B2 #9A35B2 #B2358B
triadic
#9A35B2 #B29A35 #35B29A
tetradic
#9A35B2 #B25B35 #4DB235 #358BB2
square
#9A35B2 #B25B35 #4DB235 #358BB2
split-complementary
#9A35B2 #8BB235 #35B25B
monochromatic
#481954 #712783 #9A35B2 #B657CD #CB86DB

Accessibility & contrast

On white

5.96
#9A35B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A35B2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A35B2#FFFFFF#000000##FFFFFF
##9A35B21.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3E67AF
Tritanopia (blue-blind)
#9A4D70
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9a35b2;
/* rgb */ color: rgb(154, 53, 178);
/* oklch */ color: oklch(52.8% 0.201 319.2);
Tailwind
colors: {
  custom: {
    50: '#bb75ca',
    500: '#9a35b2',
    950: '#000000',
  },
}
SCSS
$custom: #9a35b2;
$custom-light: #bb75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9a35b2",
  "rgb": {
    "r": 154,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 288.48,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52758,
    "c": 0.2008,
    "h": 319.2
  },
  "luminance": 0.12631
}

Semantic roles & 50–950 ramp

primary
#9A35B2
secondary
#8CC57E
accent
#DD4A67
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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