#9B3AD3#9B3AD3

#9B3AD3 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.6% C 0.226 H 309.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9B3AD3
RGBrgb(155, 58, 211)
HSLhsl(278, 63%, 53%)
HSVhsv(278, 73%, 83%)
CMYKcmyk(26.5%, 72.5%, 0%, 17.3%)
CIE-LABlab(45.22, 63.94, -61.14)
CIE-LCHlch(45.22, 88.47, 316.28°)
OKLaboklab(55.62% 0.1447 -0.1732)
OKLCHoklch(55.62% 0.226 309.9)
XYZxyz(26.7862, 14.6984, 63.0414)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3AD3 #72D33A
analogous
#4E3AD3 #9B3AD3 #D33ABE
triadic
#9B3AD3 #D39B3A #3AD39B
tetradic
#9B3AD3 #D34E3A #72D33A #3ABED3
square
#9B3AD3 #D34E3A #72D33A #3ABED3
split-complementary
#9B3AD3 #BED33A #3AD34E
monochromatic
#561B78 #7A26AA #9B3AD3 #B46CDE #CE9EE9

Accessibility & contrast

On white

5.33
#9B3AD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9B3AD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3AD3
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3AD3#FFFFFF#000000##FFFFFF
##9B3AD31.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#176CD0
Tritanopia (blue-blind)
#935D83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b3ad3;
/* rgb */ color: rgb(155, 58, 211);
/* oklch */ color: oklch(55.6% 0.226 309.9);
Tailwind
colors: {
  custom: {
    50: '#bd79e1',
    500: '#9b3ad3',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ad3;
$custom-light: #bd79e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ad3",
  "rgb": {
    "r": 155,
    "g": 58,
    "b": 211
  },
  "hsl": {
    "h": 278.039,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55624,
    "c": 0.22573,
    "h": 309.9
  },
  "luminance": 0.14698
}

Semantic roles & 50–950 ramp

primary
#9B3AD3
secondary
#ACD693
accent
#E7417E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B3AD3

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

Preview Lab → · Contrast checker → · Palette generator →

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