#9D41B3#9D41B3

#9D41B3 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.5% C 0.187 H 319.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9D41B3
RGBrgb(157, 65, 179)
HSLhsl(288, 47%, 48%)
HSVhsv(288, 64%, 70%)
CMYKcmyk(12.3%, 63.7%, 0%, 29.8%)
CIE-LABlab(44.52, 54.84, -43.65)
CIE-LCHlch(44.52, 70.09, 321.49°)
OKLaboklab(54.54% 0.1422 -0.1219)
OKLCHoklch(54.54% 0.187 319.4)
XYZxyz(23.9306, 14.2044, 44.1203)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D41B3 #57B341
analogous
#6441B3 #9D41B3 #B34190
triadic
#9D41B3 #B39D41 #41B39D
tetradic
#9D41B3 #B36441 #57B341 #4190B3
square
#9D41B3 #B36441 #57B341 #4190B3
split-complementary
#9D41B3 #90B341 #41B364
monochromatic
#4E2059 #763186 #9D41B3 #B669C8 #CC96D9

Accessibility & contrast

On white

5.47
#9D41B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9D41B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D41B3
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D41B3#FFFFFF#000000##FFFFFF
##9D41B31.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2063B6
Deuteranopia (green-blind)
#496CB0
Tritanopia (blue-blind)
#9D5474
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d41b3;
/* rgb */ color: rgb(157, 65, 179);
/* oklch */ color: oklch(54.5% 0.187 319.4);
Tailwind
colors: {
  custom: {
    50: '#bd7cca',
    500: '#9d41b3',
    950: '#000000',
  },
}
SCSS
$custom: #9d41b3;
$custom-light: #bd7cca;
$custom-dark: #000000;
JSON
{
  "hex": "#9d41b3",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 288.421,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54537,
    "c": 0.18733,
    "h": 319.4
  },
  "luminance": 0.14203
}

Semantic roles & 50–950 ramp

primary
#9D41B3
secondary
#96C48B
accent
#D6516B
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D41B3

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

Preview Lab → · Contrast checker → · Palette generator →

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