#9F41BC#9F41BC

#9F41BC is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.4% C 0.197 H 317.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9F41BC
RGBrgb(159, 65, 188)
HSLhsl(286, 49%, 50%)
HSVhsv(286, 65%, 74%)
CMYKcmyk(15.4%, 65.4%, 0%, 26.3%)
CIE-LABlab(45.34, 57.10, -47.61)
CIE-LCHlch(45.34, 74.35, 320.18°)
OKLaboklab(55.35% 0.1446 -0.1334)
OKLCHoklch(55.35% 0.197 317.3)
XYZxyz(25.2642, 14.7834, 49.0899)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F41BC #5EBC41
analogous
#6241BC #9F41BC #BC419C
triadic
#9F41BC #BC9F41 #41BC9F
tetradic
#9F41BC #BC6241 #5EBC41 #419CBC
square
#9F41BC #BC6241 #5EBC41 #419CBC
split-complementary
#9F41BC #9CBC41 #41BC62
monochromatic
#522261 #79318F #9F41BC #B66ECD #CD9BDC

Accessibility & contrast

On white

5.31
#9F41BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9F41BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F41BC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F41BC#FFFFFF#000000##FFFFFF
##9F41BC1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1165C0
Deuteranopia (green-blind)
#446EB9
Tritanopia (blue-blind)
#9E5779
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f41bc;
/* rgb */ color: rgb(159, 65, 188);
/* oklch */ color: oklch(55.4% 0.197 317.3);
Tailwind
colors: {
  custom: {
    50: '#bf7cd1',
    500: '#9f41bc',
    950: '#000000',
  },
}
SCSS
$custom: #9f41bc;
$custom-light: #bf7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f41bc",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 285.854,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55351,
    "c": 0.19673,
    "h": 317.3
  },
  "luminance": 0.14782
}

Semantic roles & 50–950 ramp

primary
#9F41BC
secondary
#9EC990
accent
#D85070
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #9F41BC

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

Preview Lab → · Contrast checker → · Palette generator →

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