#9F41CC#9F41CC

#9F41CC is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.4% C 0.212 H 312.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9F41CC
RGBrgb(159, 65, 204)
HSLhsl(281, 58%, 53%)
HSVhsv(281, 68%, 80%)
CMYKcmyk(22.1%, 68.1%, 0%, 20%)
CIE-LABlab(46.33, 60.38, -55.30)
CIE-LCHlch(46.33, 81.87, 317.51°)
OKLaboklab(56.38% 0.1436 -0.156)
OKLCHoklch(56.38% 0.212 312.6)
XYZxyz(27.0855, 15.5119, 58.6823)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F41CC #6ECC41
analogous
#5A41CC #9F41CC #CC41B3
triadic
#9F41CC #CC9F41 #41CC9F
tetradic
#9F41CC #CC5A41 #6ECC41 #41B3CC
square
#9F41CC #CC5A41 #6ECC41 #41B3CC
split-complementary
#9F41CC #B3CC41 #41CC5A
monochromatic
#581F74 #7D2CA4 #9F41CC #B771D9 #D0A1E6

Accessibility & contrast

On white

5.12
#9F41CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9F41CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F41CC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F41CC#FFFFFF#000000##FFFFFF
##9F41CC1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#3570C9
Tritanopia (blue-blind)
#9A5E82
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f41cc;
/* rgb */ color: rgb(159, 65, 204);
/* oklch */ color: oklch(56.4% 0.212 312.6);
Tailwind
colors: {
  custom: {
    50: '#bf7ddc',
    500: '#9f41cc',
    950: '#000000',
  },
}
SCSS
$custom: #9f41cc;
$custom-light: #bf7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f41cc",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 280.576,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5638,
    "c": 0.21204,
    "h": 312.6
  },
  "luminance": 0.15511
}

Semantic roles & 50–950 ramp

primary
#9F41CC
secondary
#AAD396
accent
#E14779
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F41CC

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

Preview Lab → · Contrast checker → · Palette generator →

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