#9B3EC5#9B3EC5

#9B3EC5 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.208 H 313.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9B3EC5
RGBrgb(155, 62, 197)
HSLhsl(281, 54%, 51%)
HSVhsv(281, 69%, 77%)
CMYKcmyk(21.3%, 68.5%, 0%, 22.7%)
CIE-LABlab(44.87, 59.35, -53.63)
CIE-LCHlch(44.87, 79.99, 317.90°)
OKLaboklab(55.08% 0.1424 -0.1512)
OKLCHoklch(55.08% 0.208 313.3)
XYZxyz(25.3165, 14.4458, 54.2672)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3EC5 #68C53E
analogous
#573EC5 #9B3EC5 #C53EAC
triadic
#9B3EC5 #C59B3E #3EC59B
tetradic
#9B3EC5 #C5573E #68C53E #3EACC5
square
#9B3EC5 #C5573E #68C53E #3EACC5
split-complementary
#9B3EC5 #ACC53E #3EC557
monochromatic
#522069 #772E98 #9B3EC5 #B36DD3 #CC9CE1

Accessibility & contrast

On white

5.40
#9B3EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9B3EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3EC5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3EC5#FFFFFF#000000##FFFFFF
##9B3EC51.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#346CC2
Tritanopia (blue-blind)
#975A7D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b3ec5;
/* rgb */ color: rgb(155, 62, 197);
/* oklch */ color: oklch(55.1% 0.208 313.3);
Tailwind
colors: {
  custom: {
    50: '#bc7bd7',
    500: '#9b3ec5',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ec5;
$custom-light: #bc7bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ec5",
  "rgb": {
    "r": 155,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 281.333,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55075,
    "c": 0.20769,
    "h": 313.3
  },
  "luminance": 0.14445
}

Semantic roles & 50–950 ramp

primary
#9B3EC5
secondary
#A4CD91
accent
#DD4B78
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9B3EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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