#9D41B8#9D41B8

#9D41B8 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.8% C 0.192 H 317.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9D41B8
RGBrgb(157, 65, 184)
HSLhsl(286, 48%, 49%)
HSVhsv(286, 65%, 72%)
CMYKcmyk(14.7%, 64.7%, 0%, 27.8%)
CIE-LABlab(44.82, 55.84, -46.12)
CIE-LCHlch(44.82, 72.42, 320.45°)
OKLaboklab(54.84% 0.1422 -0.1291)
OKLCHoklch(54.84% 0.192 317.8)
XYZxyz(24.4454, 14.4104, 46.8319)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D41B8 #5CB841
analogous
#6241B8 #9D41B8 #B84198
triadic
#9D41B8 #B89D41 #41B89D
tetradic
#9D41B8 #B86241 #5CB841 #4198B8
square
#9D41B8 #B86241 #5CB841 #4198B8
split-complementary
#9D41B8 #98B841 #41B862
monochromatic
#50215E #76318B #9D41B8 #B56BCB #CC99DB

Accessibility & contrast

On white

5.41
#9D41B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9D41B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D41B8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D41B8#FFFFFF#000000##FFFFFF
##9D41B81.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1764BC
Deuteranopia (green-blind)
#456DB5
Tritanopia (blue-blind)
#9C5677
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d41b8;
/* rgb */ color: rgb(157, 65, 184);
/* oklch */ color: oklch(54.8% 0.192 317.8);
Tailwind
colors: {
  custom: {
    50: '#bd7cce',
    500: '#9d41b8',
    950: '#000000',
  },
}
SCSS
$custom: #9d41b8;
$custom-light: #bd7cce;
$custom-dark: #000000;
JSON
{
  "hex": "#9d41b8",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 286.387,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54841,
    "c": 0.19207,
    "h": 317.8
  },
  "luminance": 0.14409
}

Semantic roles & 50–950 ramp

primary
#9D41B8
secondary
#9BC78E
accent
#D7506F
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9D41B8

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

Preview Lab → · Contrast checker → · Palette generator →

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