#9F41B7#9F41B7

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

Color values

HEX#9F41B7
RGBrgb(159, 65, 183)
HSLhsl(288, 48%, 49%)
HSVhsv(288, 64%, 72%)
CMYKcmyk(13.1%, 64.5%, 0%, 28.2%)
CIE-LABlab(45.04, 56.11, -45.15)
CIE-LCHlch(45.04, 72.02, 321.18°)
OKLaboklab(55.04% 0.1446 -0.1263)
OKLCHoklch(55.04% 0.192 318.9)
XYZxyz(24.7345, 14.5715, 46.3003)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F41B7 #59B741
analogous
#6441B7 #9F41B7 #B74194
triadic
#9F41B7 #B79F41 #41B79F
tetradic
#9F41B7 #B76441 #59B741 #4194B7
square
#9F41B7 #B76441 #59B741 #4194B7
split-complementary
#9F41B7 #94B741 #41B764
monochromatic
#51215D #78318A #9F41B7 #B76BCA #CD98DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F41B7#FFFFFF#000000##FFFFFF
##9F41B71.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)
#1C64BB
Deuteranopia (green-blind)
#486EB4
Tritanopia (blue-blind)
#9F5576
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f41b7;
/* rgb */ color: rgb(159, 65, 183);
/* oklch */ color: oklch(55.0% 0.192 318.9);
Tailwind
colors: {
  custom: {
    50: '#bf7ccd',
    500: '#9f41b7',
    950: '#000000',
  },
}
SCSS
$custom: #9f41b7;
$custom-light: #bf7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f41b7",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 287.797,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55044,
    "c": 0.192,
    "h": 318.9
  },
  "luminance": 0.1457
}

Semantic roles & 50–950 ramp

primary
#9F41B7
secondary
#99C68E
accent
#D7516C
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #9F41B7

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

Preview Lab → · Contrast checker → · Palette generator →

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