#9F41BD#9F41BD

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

Color values

HEX#9F41BD
RGBrgb(159, 65, 189)
HSLhsl(285, 49%, 50%)
HSVhsv(285, 66%, 74%)
CMYKcmyk(15.9%, 65.6%, 0%, 25.9%)
CIE-LABlab(45.40, 57.30, -48.09)
CIE-LCHlch(45.40, 74.81, 319.99°)
OKLaboklab(55.41% 0.1445 -0.1349)
OKLCHoklch(55.41% 0.198 317)
XYZxyz(25.3723, 14.8266, 49.6596)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F41BD #5FBD41
analogous
#6141BD #9F41BD #BD419D
triadic
#9F41BD #BD9F41 #41BD9F
tetradic
#9F41BD #BD6141 #5FBD41 #419DBD
square
#9F41BD #BD6141 #5FBD41 #419DBD
split-complementary
#9F41BD #9DBD41 #41BD61
monochromatic
#522262 #79318F #9F41BD #B66ECD #CD9CDD

Accessibility & contrast

On white

5.30
#9F41BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9F41BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F41BD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F41BD#FFFFFF#000000##FFFFFF
##9F41BD1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D66C1
Deuteranopia (green-blind)
#436EBA
Tritanopia (blue-blind)
#9E5879
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f41bd;
/* rgb */ color: rgb(159, 65, 189);
/* oklch */ color: oklch(55.4% 0.198 317.0);
Tailwind
colors: {
  custom: {
    50: '#bf7cd1',
    500: '#9f41bd',
    950: '#000000',
  },
}
SCSS
$custom: #9f41bd;
$custom-light: #bf7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f41bd",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 285.484,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55413,
    "c": 0.19768,
    "h": 317
  },
  "luminance": 0.14826
}

Semantic roles & 50–950 ramp

primary
#9F41BD
secondary
#9EC991
accent
#D84F71
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #9F41BD

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

Preview Lab → · Contrast checker → · Palette generator →

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