#9F41D9#9F41D9

#9F41D9 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.3% C 0.225 H 309.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9F41D9
RGBrgb(159, 65, 217)
HSLhsl(277, 67%, 55%)
HSVhsv(277, 70%, 85%)
CMYKcmyk(26.7%, 70%, 0%, 14.9%)
CIE-LABlab(47.19, 63.13, -61.37)
CIE-LCHlch(47.19, 88.04, 315.81°)
OKLaboklab(57.27% 0.1422 -0.1738)
OKLCHoklch(57.27% 0.225 309.3)
XYZxyz(28.7102, 16.1618, 67.2393)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F41D9 #7BD941
analogous
#5341D9 #9F41D9 #D941C7
triadic
#9F41D9 #D99F41 #41D99F
tetradic
#9F41D9 #D95341 #7BD941 #41C7D9
square
#9F41D9 #D95341 #7BD941 #41C7D9
split-complementary
#9F41D9 #C7D941 #41D953
monochromatic
#5C1B85 #8025B8 #9F41D9 #B974E3 #D3A7ED

Accessibility & contrast

On white

4.96
#9F41D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9F41D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F41D9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F41D9#FFFFFF#000000##FFFFFF
##9F41D91.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#2071D6
Tritanopia (blue-blind)
#966389
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9f41d9;
/* rgb */ color: rgb(159, 65, 217);
/* oklch */ color: oklch(57.3% 0.225 309.3);
Tailwind
colors: {
  custom: {
    50: '#c07de6',
    500: '#9f41d9',
    950: '#000000',
  },
}
SCSS
$custom: #9f41d9;
$custom-light: #c07de6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f41d9",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 277.105,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57266,
    "c": 0.22458,
    "h": 309.3
  },
  "luminance": 0.16161
}

Semantic roles & 50–950 ramp

primary
#9F41D9
secondary
#B3DB9B
accent
#EA3E80
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F41D9

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

Preview Lab → · Contrast checker → · Palette generator →

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