#9F41CB#9F41CB

#9F41CB is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.3% C 0.211 H 312.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9F41CB
RGBrgb(159, 65, 203)
HSLhsl(281, 57%, 53%)
HSVhsv(281, 68%, 80%)
CMYKcmyk(21.7%, 68%, 0%, 20.4%)
CIE-LABlab(46.26, 60.17, -54.82)
CIE-LCHlch(46.26, 81.40, 317.66°)
OKLaboklab(56.31% 0.1437 -0.1546)
OKLCHoklch(56.31% 0.211 312.9)
XYZxyz(26.9660, 15.4641, 58.0527)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F41CB #6DCB41
analogous
#5A41CB #9F41CB #CB41B2
triadic
#9F41CB #CB9F41 #41CB9F
tetradic
#9F41CB #CB5A41 #6DCB41 #41B2CB
square
#9F41CB #CB5A41 #6DCB41 #41B2CB
split-complementary
#9F41CB #B2CB41 #41CB5A
monochromatic
#581F72 #7D2CA2 #9F41CB #B771D8 #D0A1E5

Accessibility & contrast

On white

5.13
#9F41CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9F41CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F41CB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F41CB#FFFFFF#000000##FFFFFF
##9F41CB1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#3670C8
Tritanopia (blue-blind)
#9A5D81
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f41cb;
/* rgb */ color: rgb(159, 65, 203);
/* oklch */ color: oklch(56.3% 0.211 312.9);
Tailwind
colors: {
  custom: {
    50: '#bf7ddc',
    500: '#9f41cb',
    950: '#000000',
  },
}
SCSS
$custom: #9f41cb;
$custom-light: #bf7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f41cb",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 280.87,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56314,
    "c": 0.21107,
    "h": 312.9
  },
  "luminance": 0.15463
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F41CB

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

Preview Lab → · Contrast checker → · Palette generator →

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