#9F41CA#9F41CA

#9F41CA is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.2% C 0.210 H 313.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9F41CA
RGBrgb(159, 65, 202)
HSLhsl(281, 56%, 52%)
HSVhsv(281, 68%, 79%)
CMYKcmyk(21.3%, 67.8%, 0%, 20.8%)
CIE-LABlab(46.20, 59.96, -54.35)
CIE-LCHlch(46.20, 80.93, 317.81°)
OKLaboklab(56.25% 0.1438 -0.1532)
OKLCHoklch(56.25% 0.21 313.2)
XYZxyz(26.8472, 15.4166, 57.4271)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F41CA #6CCA41
analogous
#5B41CA #9F41CA #CA41B1
triadic
#9F41CA #CA9F41 #41CA9F
tetradic
#9F41CA #CA5B41 #6CCA41 #41B1CA
square
#9F41CA #CA5B41 #6CCA41 #41B1CA
split-complementary
#9F41CA #B1CA41 #41CA5B
monochromatic
#572071 #7C2DA1 #9F41CA #B771D7 #CFA1E5

Accessibility & contrast

On white

5.14
#9F41CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9F41CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F41CA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F41CA#FFFFFF#000000##FFFFFF
##9F41CA1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#3770C7
Tritanopia (blue-blind)
#9B5D80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9f41ca;
/* rgb */ color: rgb(159, 65, 202);
/* oklch */ color: oklch(56.2% 0.210 313.2);
Tailwind
colors: {
  custom: {
    50: '#bf7ddb',
    500: '#9f41ca',
    950: '#000000',
  },
}
SCSS
$custom: #9f41ca;
$custom-light: #bf7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f41ca",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 281.168,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56248,
    "c": 0.21011,
    "h": 313.2
  },
  "luminance": 0.15416
}

Semantic roles & 50–950 ramp

primary
#9F41CA
secondary
#A8D196
accent
#E04878
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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