#9B3EC6#9B3EC6

#9B3EC6 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.1% C 0.209 H 313.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9B3EC6
RGBrgb(155, 62, 198)
HSLhsl(281, 54%, 51%)
HSVhsv(281, 69%, 78%)
CMYKcmyk(21.7%, 68.7%, 0%, 22.4%)
CIE-LABlab(44.93, 59.56, -54.11)
CIE-LCHlch(44.93, 80.47, 317.75°)
OKLaboklab(55.14% 0.1423 -0.1526)
OKLCHoklch(55.14% 0.209 313)
XYZxyz(25.4314, 14.4918, 54.8727)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3EC6 #69C63E
analogous
#573EC6 #9B3EC6 #C63EAD
triadic
#9B3EC6 #C69B3E #3EC69B
tetradic
#9B3EC6 #C6573E #69C63E #3EADC6
square
#9B3EC6 #C6573E #69C63E #3EADC6
split-complementary
#9B3EC6 #ADC63E #3EC657
monochromatic
#531F6A #772D99 #9B3EC6 #B36DD4 #CC9CE2

Accessibility & contrast

On white

5.39
#9B3EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9B3EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3EC6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3EC6#FFFFFF#000000##FFFFFF
##9B3EC61.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#336CC3
Tritanopia (blue-blind)
#965A7D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b3ec6;
/* rgb */ color: rgb(155, 62, 198);
/* oklch */ color: oklch(55.1% 0.209 313.0);
Tailwind
colors: {
  custom: {
    50: '#bc7bd8',
    500: '#9b3ec6',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ec6;
$custom-light: #bc7bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ec6",
  "rgb": {
    "r": 155,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 281.029,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55142,
    "c": 0.20865,
    "h": 313
  },
  "luminance": 0.14491
}

Semantic roles & 50–950 ramp

primary
#9B3EC6
secondary
#A5CE92
accent
#DE4A79
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9B3EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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