#9D41B1#9D41B1

#9D41B1 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.4% C 0.185 H 320.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9D41B1
RGBrgb(157, 65, 177)
HSLhsl(289, 46%, 47%)
HSVhsv(289, 63%, 69%)
CMYKcmyk(11.3%, 63.3%, 0%, 30.6%)
CIE-LABlab(44.41, 54.45, -42.65)
CIE-LCHlch(44.41, 69.16, 321.93°)
OKLaboklab(54.42% 0.1422 -0.119)
OKLCHoklch(54.42% 0.185 320.1)
XYZxyz(23.7298, 14.1241, 43.0627)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D41B1 #55B141
analogous
#6541B1 #9D41B1 #B1418D
triadic
#9D41B1 #B19D41 #41B19D
tetradic
#9D41B1 #B16541 #55B141 #418DB1
square
#9D41B1 #B16541 #55B141 #418DB1
split-complementary
#9D41B1 #8DB141 #41B165
monochromatic
#4E2057 #753184 #9D41B1 #B668C7 #CC95D8

Accessibility & contrast

On white

5.49
#9D41B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9D41B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D41B1
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D41B1#FFFFFF#000000##FFFFFF
##9D41B11.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2363B4
Deuteranopia (green-blind)
#4A6CAE
Tritanopia (blue-blind)
#9E5473
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d41b1;
/* rgb */ color: rgb(157, 65, 177);
/* oklch */ color: oklch(54.4% 0.185 320.1);
Tailwind
colors: {
  custom: {
    50: '#bd7cc9',
    500: '#9d41b1',
    950: '#000000',
  },
}
SCSS
$custom: #9d41b1;
$custom-light: #bd7cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d41b1",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 289.286,
    "s": 46.281,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54417,
    "c": 0.18544,
    "h": 320.1
  },
  "luminance": 0.14123
}

Semantic roles & 50–950 ramp

primary
#9D41B1
secondary
#95C38A
accent
#D65269
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D41B1

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

Preview Lab → · Contrast checker → · Palette generator →

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