#9F41EA#9F41EA

#9F41EA is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.5% C 0.241 H 305.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9F41EA
RGBrgb(159, 65, 234)
HSLhsl(273, 80%, 59%)
HSVhsv(273, 72%, 92%)
CMYKcmyk(32.1%, 72.2%, 0%, 8.2%)
CIE-LABlab(48.38, 66.82, -69.09)
CIE-LCHlch(48.38, 96.12, 314.04°)
OKLaboklab(58.49% 0.1396 -0.1965)
OKLCHoklch(58.49% 0.241 305.4)
XYZxyz(31.0363, 17.0923, 79.4900)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F41EA #8CEA41
analogous
#4A41EA #9F41EA #EA41E0
triadic
#9F41EA #EA9F41 #41EA9F
tetradic
#9F41EA #EA4A41 #8CEA41 #41E0EA
square
#9F41EA #EA4A41 #8CEA41 #41E0EA
split-complementary
#9F41EA #E0EA41 #41EA4A
monochromatic
#60129F #8218D6 #9F41EA #BB78F0 #D7AFF6

Accessibility & contrast

On white

4.75
#9F41EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9F41EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F41EA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F41EA#FFFFFF#000000##FFFFFF
##9F41EA1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EF
Deuteranopia (green-blind)
#0073E7
Tritanopia (blue-blind)
#916A92
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f41ea;
/* rgb */ color: rgb(159, 65, 234);
/* oklch */ color: oklch(58.5% 0.241 305.4);
Tailwind
colors: {
  custom: {
    50: '#c17ef2',
    500: '#9f41ea',
    950: '#000000',
  },
}
SCSS
$custom: #9f41ea;
$custom-light: #c17ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f41ea",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 273.373,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58485,
    "c": 0.24103,
    "h": 305.4
  },
  "luminance": 0.17092
}

Semantic roles & 50–950 ramp

primary
#9F41EA
secondary
#C0E5A2
accent
#F73189
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A17
muted
#827C85

Preview Lab

Preview with #9F41EA

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

Preview Lab → · Contrast checker → · Palette generator →

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