#9B35D2#9B35D2

#9B35D2 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 55.1% C 0.230 H 310.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9B35D2
RGBrgb(155, 53, 210)
HSLhsl(279, 64%, 52%)
HSVhsv(279, 75%, 82%)
CMYKcmyk(26.2%, 74.8%, 0%, 17.6%)
CIE-LABlab(44.47, 65.66, -61.78)
CIE-LCHlch(44.47, 90.15, 316.74°)
OKLaboklab(55.08% 0.1495 -0.175)
OKLCHoklch(55.08% 0.23 310.5)
XYZxyz(26.4213, 14.1685, 62.3032)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B35D2 #6CD235
analogous
#4D35D2 #9B35D2 #D235BB
triadic
#9B35D2 #D29B35 #35D29B
tetradic
#9B35D2 #D24D35 #6CD235 #35BBD2
square
#9B35D2 #D24D35 #6CD235 #35BBD2
split-complementary
#9B35D2 #BBD235 #35D24D
monochromatic
#541A73 #7825A5 #9B35D2 #B467DD #CD99E8

Accessibility & contrast

On white

5.48
#9B35D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9B35D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B35D2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B35D2#FFFFFF#000000##FFFFFF
##9B35D21.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0D6BCF
Tritanopia (blue-blind)
#935A82
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9b35d2;
/* rgb */ color: rgb(155, 53, 210);
/* oklch */ color: oklch(55.1% 0.230 310.5);
Tailwind
colors: {
  custom: {
    50: '#be77e1',
    500: '#9b35d2',
    950: '#000000',
  },
}
SCSS
$custom: #9b35d2;
$custom-light: #be77e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b35d2",
  "rgb": {
    "r": 155,
    "g": 53,
    "b": 210
  },
  "hsl": {
    "h": 278.981,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55075,
    "c": 0.23019,
    "h": 310.5
  },
  "luminance": 0.14168
}

Semantic roles & 50–950 ramp

primary
#9B35D2
secondary
#A7D48F
accent
#E7417B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B35D2

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

Preview Lab → · Contrast checker → · Palette generator →

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