#9F41BB#9F41BB

#9F41BB is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.3% C 0.196 H 317.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9F41BB
RGBrgb(159, 65, 187)
HSLhsl(286, 48%, 49%)
HSVhsv(286, 65%, 73%)
CMYKcmyk(15%, 65.2%, 0%, 26.7%)
CIE-LABlab(45.28, 56.90, -47.12)
CIE-LCHlch(45.28, 73.88, 320.37°)
OKLaboklab(55.29% 0.1446 -0.132)
OKLCHoklch(55.29% 0.196 317.6)
XYZxyz(25.1567, 14.7404, 48.5241)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F41BB #5DBB41
analogous
#6241BB #9F41BB #BB419A
triadic
#9F41BB #BB9F41 #41BB9F
tetradic
#9F41BB #BB6241 #5DBB41 #419ABB
square
#9F41BB #BB6241 #5DBB41 #419ABB
split-complementary
#9F41BB #9ABB41 #41BB62
monochromatic
#522160 #78318E #9F41BB #B66DCC #CD9ADC

Accessibility & contrast

On white

5.32
#9F41BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9F41BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F41BB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F41BB#FFFFFF#000000##FFFFFF
##9F41BB1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1365BF
Deuteranopia (green-blind)
#456EB8
Tritanopia (blue-blind)
#9E5778
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f41bb;
/* rgb */ color: rgb(159, 65, 187);
/* oklch */ color: oklch(55.3% 0.196 317.6);
Tailwind
colors: {
  custom: {
    50: '#bf7cd0',
    500: '#9f41bb',
    950: '#000000',
  },
}
SCSS
$custom: #9f41bb;
$custom-light: #bf7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f41bb",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 286.23,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55289,
    "c": 0.19578,
    "h": 317.6
  },
  "luminance": 0.14739
}

Semantic roles & 50–950 ramp

primary
#9F41BB
secondary
#9DC890
accent
#D8506F
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #9F41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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