#9B41B4#9B41B4

#9B41B4 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.3% C 0.187 H 318.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9B41B4
RGBrgb(155, 65, 180)
HSLhsl(287, 47%, 48%)
HSVhsv(287, 64%, 71%)
CMYKcmyk(13.9%, 63.9%, 0%, 29.4%)
CIE-LABlab(44.30, 54.56, -44.61)
CIE-LCHlch(44.30, 70.48, 320.73°)
OKLaboklab(54.33% 0.1398 -0.1248)
OKLCHoklch(54.33% 0.187 318.2)
XYZxyz(23.6450, 14.0454, 44.6367)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B41B4 #5AB441
analogous
#6241B4 #9B41B4 #B44193
triadic
#9B41B4 #B49B41 #41B49B
tetradic
#9B41B4 #B46241 #5AB441 #4193B4
square
#9B41B4 #B46241 #5AB441 #4193B4
split-complementary
#9B41B4 #93B441 #41B462
monochromatic
#4E215A #743187 #9B41B4 #B469C9 #CB96D9

Accessibility & contrast

On white

5.51
#9B41B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9B41B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B41B4
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B41B4#FFFFFF#000000##FFFFFF
##9B41B41.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D63B7
Deuteranopia (green-blind)
#466CB1
Tritanopia (blue-blind)
#9B5575
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9b41b4;
/* rgb */ color: rgb(155, 65, 180);
/* oklch */ color: oklch(54.3% 0.187 318.2);
Tailwind
colors: {
  custom: {
    50: '#bc7ccb',
    500: '#9b41b4',
    950: '#000000',
  },
}
SCSS
$custom: #9b41b4;
$custom-light: #bc7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b41b4",
  "rgb": {
    "r": 155,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 286.957,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54333,
    "c": 0.18739,
    "h": 318.2
  },
  "luminance": 0.14044
}

Semantic roles & 50–950 ramp

primary
#9B41B4
secondary
#98C58C
accent
#D7516E
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9B41B4

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

Preview Lab → · Contrast checker → · Palette generator →

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