#9B3BE5#9B3BE5

#9B3BE5 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 57.0% C 0.242 H 305.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9B3BE5
RGBrgb(155, 59, 229)
HSLhsl(274, 77%, 56%)
HSVhsv(274, 74%, 90%)
CMYKcmyk(32.3%, 74.2%, 0%, 10.2%)
CIE-LABlab(46.65, 67.42, -69.09)
CIE-LCHlch(46.65, 96.54, 314.30°)
OKLaboklab(57.04% 0.1406 -0.1966)
OKLCHoklch(57.04% 0.242 305.6)
XYZxyz(29.2212, 15.7539, 75.6149)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3BE5 #85E53B
analogous
#463BE5 #9B3BE5 #E53BDA
triadic
#9B3BE5 #E59B3B #3BE59B
tetradic
#9B3BE5 #E5463B #85E53B #3BDAE5
square
#9B3BE5 #E5463B #85E53B #3BDAE5
split-complementary
#9B3BE5 #DAE53B #3BE546
monochromatic
#5B1392 #7D1BC8 #9B3BE5 #B771EC #D2A7F3

Accessibility & contrast

On white

5.06
#9B3BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9B3BE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3BE5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3BE5#FFFFFF#000000##FFFFFF
##9B3BE51.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#006FE2
Tritanopia (blue-blind)
#8D658E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b3be5;
/* rgb */ color: rgb(155, 59, 229);
/* oklch */ color: oklch(57.0% 0.242 305.6);
Tailwind
colors: {
  custom: {
    50: '#be7aee',
    500: '#9b3be5',
    950: '#000000',
  },
}
SCSS
$custom: #9b3be5;
$custom-light: #be7aee;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3be5",
  "rgb": {
    "r": 155,
    "g": 59,
    "b": 229
  },
  "hsl": {
    "h": 273.882,
    "s": 76.577,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57042,
    "c": 0.2417,
    "h": 305.6
  },
  "luminance": 0.15754
}

Semantic roles & 50–950 ramp

primary
#9B3BE5
secondary
#B9E19B
accent
#F33588
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B3BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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