#9F41D1#9F41D1

#9F41D1 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.7% C 0.217 H 311.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9F41D1
RGBrgb(159, 65, 209)
HSLhsl(279, 61%, 54%)
HSVhsv(279, 69%, 82%)
CMYKcmyk(23.9%, 68.9%, 0%, 18%)
CIE-LABlab(46.65, 61.43, -57.65)
CIE-LCHlch(46.65, 84.24, 316.82°)
OKLaboklab(56.72% 0.1432 -0.1629)
OKLCHoklch(56.72% 0.217 311.3)
XYZxyz(27.6948, 15.7557, 61.8915)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F41D1 #73D141
analogous
#5741D1 #9F41D1 #D141BB
triadic
#9F41D1 #D19F41 #41D19F
tetradic
#9F41D1 #D15741 #73D141 #41BBD1
square
#9F41D1 #D15741 #73D141 #41BBD1
split-complementary
#9F41D1 #BBD141 #41D157
monochromatic
#5A1E7A #7E29AB #9F41D1 #B872DD #D1A4E9

Accessibility & contrast

On white

5.06
#9F41D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9F41D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F41D1
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F41D1#FFFFFF#000000##FFFFFF
##9F41D11.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#2E70CE
Tritanopia (blue-blind)
#996084
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9f41d1;
/* rgb */ color: rgb(159, 65, 209);
/* oklch */ color: oklch(56.7% 0.217 311.3);
Tailwind
colors: {
  custom: {
    50: '#c07de0',
    500: '#9f41d1',
    950: '#000000',
  },
}
SCSS
$custom: #9f41d1;
$custom-light: #c07de0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f41d1",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 209
  },
  "hsl": {
    "h": 279.167,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56716,
    "c": 0.21685,
    "h": 311.3
  },
  "luminance": 0.15755
}

Semantic roles & 50–950 ramp

primary
#9F41D1
secondary
#ADD698
accent
#E4447B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F41D1

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

Preview Lab → · Contrast checker → · Palette generator →

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