#9A35BC#9A35BC

#9A35BC is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.210 H 316.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9A35BC
RGBrgb(154, 53, 188)
HSLhsl(285, 56%, 47%)
HSVhsv(285, 72%, 74%)
CMYKcmyk(18.1%, 71.8%, 0%, 26.3%)
CIE-LABlab(42.84, 61.00, -51.66)
CIE-LCHlch(42.84, 79.93, 319.74°)
OKLaboklab(53.41% 0.1513 -0.1454)
OKLCHoklch(53.41% 0.21 316.1)
XYZxyz(23.6752, 13.0480, 48.8386)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A35BC #57BC35
analogous
#5735BC #9A35BC #BC359B
triadic
#9A35BC #BC9A35 #35BC9A
tetradic
#9A35BC #BC5735 #57BC35 #359BBC
square
#9A35BC #BC5735 #57BC35 #359BBC
split-complementary
#9A35BC #9BBC35 #35BC57
monochromatic
#4C1A5D #73288C #9A35BC #B45DD1 #CA8DDF

Accessibility & contrast

On white

5.82
#9A35BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9A35BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A35BC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A35BC#FFFFFF#000000##FFFFFF
##9A35BC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#3468B9
Tritanopia (blue-blind)
#985175
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9a35bc;
/* rgb */ color: rgb(154, 53, 188);
/* oklch */ color: oklch(53.4% 0.210 316.1);
Tailwind
colors: {
  custom: {
    50: '#bc76d1',
    500: '#9a35bc',
    950: '#000000',
  },
}
SCSS
$custom: #9a35bc;
$custom-light: #bc76d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a35bc",
  "rgb": {
    "r": 154,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 284.889,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53411,
    "c": 0.20981,
    "h": 316.1
  },
  "luminance": 0.13047
}

Semantic roles & 50–950 ramp

primary
#9A35BC
secondary
#95C984
accent
#DF486E
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A35BC

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

Preview Lab → · Contrast checker → · Palette generator →

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