#9F41D4#9F41D4

#9F41D4 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.9% C 0.220 H 310.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9F41D4
RGBrgb(159, 65, 212)
HSLhsl(278, 63%, 54%)
HSVhsv(278, 69%, 83%)
CMYKcmyk(25%, 69.3%, 0%, 16.9%)
CIE-LABlab(46.85, 62.06, -59.05)
CIE-LCHlch(46.85, 85.67, 316.42°)
OKLaboklab(56.92% 0.1428 -0.167)
OKLCHoklch(56.92% 0.22 310.5)
XYZxyz(28.0698, 15.9056, 63.8660)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F41D4 #76D441
analogous
#5641D4 #9F41D4 #D441C0
triadic
#9F41D4 #D49F41 #41D49F
tetradic
#9F41D4 #D45641 #76D441 #41C0D4
square
#9F41D4 #D45641 #76D441 #41C0D4
split-complementary
#9F41D4 #C0D441 #41D456
monochromatic
#5B1D7E #7F28B0 #9F41D4 #B873DF #D1A5EB

Accessibility & contrast

On white

5.02
#9F41D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9F41D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F41D4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F41D4#FFFFFF#000000##FFFFFF
##9F41D41.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#2A71D1
Tritanopia (blue-blind)
#986186
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9f41d4;
/* rgb */ color: rgb(159, 65, 212);
/* oklch */ color: oklch(56.9% 0.220 310.5);
Tailwind
colors: {
  custom: {
    50: '#c07de2',
    500: '#9f41d4',
    950: '#000000',
  },
}
SCSS
$custom: #9f41d4;
$custom-light: #c07de2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f41d4",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 278.367,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5692,
    "c": 0.21975,
    "h": 310.5
  },
  "luminance": 0.15905
}

Semantic roles & 50–950 ramp

primary
#9F41D4
secondary
#B0D899
accent
#E6427D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F41D4

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

Preview Lab → · Contrast checker → · Palette generator →

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