#9B3AD4#9B3AD4

#9B3AD4 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.7% C 0.227 H 309.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9B3AD4
RGBrgb(155, 58, 212)
HSLhsl(278, 64%, 53%)
HSVhsv(278, 73%, 83%)
CMYKcmyk(26.9%, 72.6%, 0%, 16.9%)
CIE-LABlab(45.29, 64.15, -61.61)
CIE-LCHlch(45.29, 88.94, 316.16°)
OKLaboklab(55.69% 0.1446 -0.1746)
OKLCHoklch(55.69% 0.227 309.6)
XYZxyz(26.9119, 14.7487, 63.7037)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3AD4 #73D43A
analogous
#4E3AD4 #9B3AD4 #D43AC0
triadic
#9B3AD4 #D49B3A #3AD49B
tetradic
#9B3AD4 #D44E3A #73D43A #3AC0D4
square
#9B3AD4 #D44E3A #73D43A #3AC0D4
split-complementary
#9B3AD4 #C0D43A #3AD44E
monochromatic
#561A79 #7A25AB #9B3AD4 #B46CDF #CE9EEA

Accessibility & contrast

On white

5.32
#9B3AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9B3AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3AD4
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3AD4#FFFFFF#000000##FFFFFF
##9B3AD41.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#136DD1
Tritanopia (blue-blind)
#935E84
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b3ad4;
/* rgb */ color: rgb(155, 58, 212);
/* oklch */ color: oklch(55.7% 0.227 309.6);
Tailwind
colors: {
  custom: {
    50: '#bd79e2',
    500: '#9b3ad4',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ad4;
$custom-light: #bd79e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ad4",
  "rgb": {
    "r": 155,
    "g": 58,
    "b": 212
  },
  "hsl": {
    "h": 277.792,
    "s": 64.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55695,
    "c": 0.22667,
    "h": 309.6
  },
  "luminance": 0.14748
}

Semantic roles & 50–950 ramp

primary
#9B3AD4
secondary
#ACD694
accent
#E7417E
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #9B3AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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