#9B41D1#9B41D1

#9B41D1 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.2% C 0.216 H 309.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9B41D1
RGBrgb(155, 65, 209)
HSLhsl(278, 61%, 54%)
HSVhsv(278, 69%, 82%)
CMYKcmyk(25.8%, 68.9%, 0%, 18%)
CIE-LABlab(46.11, 60.60, -58.55)
CIE-LCHlch(46.11, 84.26, 315.99°)
OKLaboklab(56.22% 0.138 -0.1656)
OKLCHoklch(56.22% 0.216 309.8)
XYZxyz(26.9142, 15.3531, 61.8549)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B41D1 #77D141
analogous
#5341D1 #9B41D1 #D141BF
triadic
#9B41D1 #D19B41 #41D19B
tetradic
#9B41D1 #D15341 #77D141 #41BFD1
square
#9B41D1 #D15341 #77D141 #41BFD1
split-complementary
#9B41D1 #BFD141 #41D153
monochromatic
#571E7A #7B29AB #9B41D1 #B572DD #CFA4E9

Accessibility & contrast

On white

5.16
#9B41D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9B41D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B41D1
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B41D1#FFFFFF#000000##FFFFFF
##9B41D11.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#276FCE
Tritanopia (blue-blind)
#936084
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b41d1;
/* rgb */ color: rgb(155, 65, 209);
/* oklch */ color: oklch(56.2% 0.216 309.8);
Tailwind
colors: {
  custom: {
    50: '#bd7de0',
    500: '#9b41d1',
    950: '#000000',
  },
}
SCSS
$custom: #9b41d1;
$custom-light: #bd7de0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b41d1",
  "rgb": {
    "r": 155,
    "g": 65,
    "b": 209
  },
  "hsl": {
    "h": 277.5,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56218,
    "c": 0.21562,
    "h": 309.8
  },
  "luminance": 0.15353
}

Semantic roles & 50–950 ramp

primary
#9B41D1
secondary
#AFD698
accent
#E44480
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B41D1

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

Preview Lab → · Contrast checker → · Palette generator →

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