#9B41D7#9B41D7

#9B41D7 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.6% C 0.222 H 308.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9B41D7
RGBrgb(155, 65, 215)
HSLhsl(276, 65%, 55%)
HSVhsv(276, 70%, 84%)
CMYKcmyk(27.9%, 69.8%, 0%, 15.7%)
CIE-LABlab(46.52, 61.90, -61.33)
CIE-LCHlch(46.52, 87.14, 315.27°)
OKLaboklab(56.64% 0.1373 -0.1738)
OKLCHoklch(56.64% 0.222 308.3)
XYZxyz(27.6711, 15.6559, 65.8410)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B41D7 #7DD741
analogous
#5041D7 #9B41D7 #D741C8
triadic
#9B41D7 #D79B41 #41D79B
tetradic
#9B41D7 #D75041 #7DD741 #41C8D7
square
#9B41D7 #D75041 #7DD741 #41C8D7
split-complementary
#9B41D7 #C8D741 #41D750
monochromatic
#591B82 #7C26B5 #9B41D7 #B674E2 #D0A6EC

Accessibility & contrast

On white

5.08
#9B41D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9B41D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B41D7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B41D7#FFFFFF#000000##FFFFFF
##9B41D71.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#1B6FD4
Tritanopia (blue-blind)
#926388
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9b41d7;
/* rgb */ color: rgb(155, 65, 215);
/* oklch */ color: oklch(56.6% 0.222 308.3);
Tailwind
colors: {
  custom: {
    50: '#bd7de4',
    500: '#9b41d7',
    950: '#000000',
  },
}
SCSS
$custom: #9b41d7;
$custom-light: #bd7de4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b41d7",
  "rgb": {
    "r": 155,
    "g": 65,
    "b": 215
  },
  "hsl": {
    "h": 276,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56636,
    "c": 0.22151,
    "h": 308.3
  },
  "luminance": 0.15655
}

Semantic roles & 50–950 ramp

primary
#9B41D7
secondary
#B4D99A
accent
#E84083
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B41D7

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

Preview Lab → · Contrast checker → · Palette generator →

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