#9D41BB#9D41BB

#9D41BB is a mid, vivid purple. Relative luminance 0.145; OKLCH L 55.0% C 0.195 H 316.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9D41BB
RGBrgb(157, 65, 187)
HSLhsl(285, 48%, 49%)
HSVhsv(285, 65%, 73%)
CMYKcmyk(16%, 65.2%, 0%, 26.7%)
CIE-LABlab(44.99, 56.44, -47.59)
CIE-LCHlch(44.99, 73.82, 319.86°)
OKLaboklab(55.03% 0.1421 -0.1334)
OKLCHoklch(55.03% 0.195 316.8)
XYZxyz(24.7632, 14.5375, 48.5057)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D41BB #5FBB41
analogous
#6041BB #9D41BB #BB419C
triadic
#9D41BB #BB9D41 #41BB9D
tetradic
#9D41BB #BB6041 #5FBB41 #419CBB
square
#9D41BB #BB6041 #5FBB41 #419CBB
split-complementary
#9D41BB #9CBB41 #41BB60
monochromatic
#512160 #77318E #9D41BB #B56DCC #CC9ADC

Accessibility & contrast

On white

5.37
#9D41BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9D41BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D41BB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D41BB#FFFFFF#000000##FFFFFF
##9D41BB1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1065BF
Deuteranopia (green-blind)
#436DB8
Tritanopia (blue-blind)
#9C5778
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d41bb;
/* rgb */ color: rgb(157, 65, 187);
/* oklch */ color: oklch(55.0% 0.195 316.8);
Tailwind
colors: {
  custom: {
    50: '#bd7cd0',
    500: '#9d41bb',
    950: '#000000',
  },
}
SCSS
$custom: #9d41bb;
$custom-light: #bd7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d41bb",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 285.246,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55027,
    "c": 0.19495,
    "h": 316.8
  },
  "luminance": 0.14537
}

Semantic roles & 50–950 ramp

primary
#9D41BB
secondary
#9EC890
accent
#D85071
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9D41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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