#9B3EA4#9B3EA4

#9B3EA4 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.0% C 0.177 H 324.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9B3EA4
RGBrgb(155, 62, 164)
HSLhsl(295, 45%, 44%)
HSVhsv(295, 62%, 64%)
CMYKcmyk(5.5%, 62.2%, 0%, 35.7%)
CIE-LABlab(42.91, 52.81, -37.35)
CIE-LCHlch(42.91, 64.69, 324.73°)
OKLaboklab(53.03% 0.1431 -0.1036)
OKLCHoklch(53.03% 0.177 324.1)
XYZxyz(21.9404, 13.0954, 36.4868)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3EA4 #47A43E
analogous
#683EA4 #9B3EA4 #A43E7A
triadic
#9B3EA4 #A49B3E #3EA49B
tetradic
#9B3EA4 #A4683E #47A43E #3E7AA4
square
#9B3EA4 #A4683E #47A43E #3E7AA4
split-complementary
#9B3EA4 #7AA43E #3EA468
monochromatic
#471C4B #712D78 #9B3EA4 #B95DC2 #CC8AD3

Accessibility & contrast

On white

5.80
#9B3EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9B3EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3EA4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3EA4#FFFFFF#000000##FFFFFF
##9B3EA41.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5EA7
Deuteranopia (green-blind)
#4F69A1
Tritanopia (blue-blind)
#9E4D6B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b3ea4;
/* rgb */ color: rgb(155, 62, 164);
/* oklch */ color: oklch(53.0% 0.177 324.1);
Tailwind
colors: {
  custom: {
    50: '#bb79bf',
    500: '#9b3ea4',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ea4;
$custom-light: #bb79bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ea4",
  "rgb": {
    "r": 155,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 294.706,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53034,
    "c": 0.17666,
    "h": 324.1
  },
  "luminance": 0.13094
}

Semantic roles & 50–950 ramp

primary
#9B3EA4
secondary
#86BD81
accent
#D5535E
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9B3EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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