#9B41B2#9B41B2

#9B41B2 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.2% C 0.185 H 318.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9B41B2
RGBrgb(155, 65, 178)
HSLhsl(288, 47%, 48%)
HSVhsv(288, 63%, 70%)
CMYKcmyk(12.9%, 63.5%, 0%, 30.2%)
CIE-LABlab(44.18, 54.16, -43.62)
CIE-LCHlch(44.18, 69.54, 321.15°)
OKLaboklab(54.21% 0.1398 -0.1219)
OKLCHoklch(54.21% 0.185 318.9)
XYZxyz(23.4427, 13.9645, 43.5714)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B41B2 #58B241
analogous
#6341B2 #9B41B2 #B24190
triadic
#9B41B2 #B29B41 #41B29B
tetradic
#9B41B2 #B26341 #58B241 #4190B2
square
#9B41B2 #B26341 #58B241 #4190B2
split-complementary
#9B41B2 #90B241 #41B263
monochromatic
#4D2058 #743185 #9B41B2 #B468C8 #CB95D8

Accessibility & contrast

On white

5.54
#9B41B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9B41B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B41B2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B41B2#FFFFFF#000000##FFFFFF
##9B41B21.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2062B5
Deuteranopia (green-blind)
#486BAF
Tritanopia (blue-blind)
#9B5474
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9b41b2;
/* rgb */ color: rgb(155, 65, 178);
/* oklch */ color: oklch(54.2% 0.185 318.9);
Tailwind
colors: {
  custom: {
    50: '#bb7cc9',
    500: '#9b41b2',
    950: '#000000',
  },
}
SCSS
$custom: #9b41b2;
$custom-light: #bb7cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b41b2",
  "rgb": {
    "r": 155,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 287.788,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54211,
    "c": 0.18547,
    "h": 318.9
  },
  "luminance": 0.13964
}

Semantic roles & 50–950 ramp

primary
#9B41B2
secondary
#96C48B
accent
#D6526D
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9B41B2

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

Preview Lab → · Contrast checker → · Palette generator →

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