#9A35D1#9A35D1

#9A35D1 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.9% C 0.229 H 310.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9A35D1
RGBrgb(154, 53, 209)
HSLhsl(279, 63%, 51%)
HSVhsv(279, 75%, 82%)
CMYKcmyk(26.3%, 74.6%, 0%, 18%)
CIE-LABlab(44.26, 65.26, -61.55)
CIE-LCHlch(44.26, 89.71, 316.68°)
OKLaboklab(54.87% 0.1484 -0.1744)
OKLCHoklch(54.87% 0.229 310.4)
XYZxyz(26.1059, 14.0203, 61.6402)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A35D1 #6CD135
analogous
#4C35D1 #9A35D1 #D135BA
triadic
#9A35D1 #D19A35 #35D19A
tetradic
#9A35D1 #D14C35 #6CD135 #35BAD1
square
#9A35D1 #D14C35 #6CD135 #35BAD1
split-complementary
#9A35D1 #BAD135 #35D14C
monochromatic
#531A72 #7725A4 #9A35D1 #B367DC #CC99E8

Accessibility & contrast

On white

5.52
#9A35D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9A35D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A35D1
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A35D1#FFFFFF#000000##FFFFFF
##9A35D11.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#0D6ACE
Tritanopia (blue-blind)
#925A81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a35d1;
/* rgb */ color: rgb(154, 53, 209);
/* oklch */ color: oklch(54.9% 0.229 310.4);
Tailwind
colors: {
  custom: {
    50: '#bd76e0',
    500: '#9a35d1',
    950: '#000000',
  },
}
SCSS
$custom: #9a35d1;
$custom-light: #bd76e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a35d1",
  "rgb": {
    "r": 154,
    "g": 53,
    "b": 209
  },
  "hsl": {
    "h": 278.846,
    "s": 62.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54874,
    "c": 0.22898,
    "h": 310.4
  },
  "luminance": 0.1402
}

Semantic roles & 50–950 ramp

primary
#9A35D1
secondary
#A7D38F
accent
#E6427C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A35D1

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

Preview Lab → · Contrast checker → · Palette generator →

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