#9F41D0#9F41D0

#9F41D0 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.6% C 0.216 H 311.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9F41D0
RGBrgb(159, 65, 208)
HSLhsl(279, 60%, 54%)
HSVhsv(279, 69%, 82%)
CMYKcmyk(23.6%, 68.8%, 0%, 18.4%)
CIE-LABlab(46.59, 61.22, -57.18)
CIE-LCHlch(46.59, 83.77, 316.95°)
OKLaboklab(56.65% 0.1433 -0.1615)
OKLCHoklch(56.65% 0.216 311.6)
XYZxyz(27.5714, 15.7063, 61.2415)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F41D0 #72D041
analogous
#5741D0 #9F41D0 #D041B9
triadic
#9F41D0 #D09F41 #41D09F
tetradic
#9F41D0 #D05741 #72D041 #41B9D0
square
#9F41D0 #D05741 #72D041 #41B9D0
split-complementary
#9F41D0 #B9D041 #41D057
monochromatic
#5A1E79 #7E2AAA #9F41D0 #B872DC #D1A3E8

Accessibility & contrast

On white

5.07
#9F41D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9F41D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F41D0
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F41D0#FFFFFF#000000##FFFFFF
##9F41D01.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#3070CD
Tritanopia (blue-blind)
#995F84
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f41d0;
/* rgb */ color: rgb(159, 65, 208);
/* oklch */ color: oklch(56.6% 0.216 311.6);
Tailwind
colors: {
  custom: {
    50: '#c07ddf',
    500: '#9f41d0',
    950: '#000000',
  },
}
SCSS
$custom: #9f41d0;
$custom-light: #c07ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f41d0",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 208
  },
  "hsl": {
    "h": 279.441,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56648,
    "c": 0.21588,
    "h": 311.6
  },
  "luminance": 0.15706
}

Semantic roles & 50–950 ramp

primary
#9F41D0
secondary
#ADD598
accent
#E3447B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F41D0

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

Preview Lab → · Contrast checker → · Palette generator →

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