#9F41D7#9F41D7

#9F41D7 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.1% C 0.223 H 309.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9F41D7
RGBrgb(159, 65, 215)
HSLhsl(278, 65%, 55%)
HSVhsv(278, 70%, 84%)
CMYKcmyk(26%, 69.8%, 0%, 15.7%)
CIE-LABlab(47.05, 62.70, -60.45)
CIE-LCHlch(47.05, 87.09, 316.05°)
OKLaboklab(57.13% 0.1425 -0.1711)
OKLCHoklch(57.13% 0.223 309.8)
XYZxyz(28.4517, 16.0584, 65.8776)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F41D7 #79D741
analogous
#5441D7 #9F41D7 #D741C4
triadic
#9F41D7 #D79F41 #41D79F
tetradic
#9F41D7 #D75441 #79D741 #41C4D7
square
#9F41D7 #D75441 #79D741 #41C4D7
split-complementary
#9F41D7 #C4D741 #41D754
monochromatic
#5C1B82 #7F26B5 #9F41D7 #B974E2 #D2A6EC

Accessibility & contrast

On white

4.99
#9F41D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9F41D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F41D7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F41D7#FFFFFF#000000##FFFFFF
##9F41D71.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#2471D4
Tritanopia (blue-blind)
#976288
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9f41d7;
/* rgb */ color: rgb(159, 65, 215);
/* oklch */ color: oklch(57.1% 0.223 309.8);
Tailwind
colors: {
  custom: {
    50: '#c07de4',
    500: '#9f41d7',
    950: '#000000',
  },
}
SCSS
$custom: #9f41d7;
$custom-light: #c07de4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f41d7",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 215
  },
  "hsl": {
    "h": 277.6,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57127,
    "c": 0.22265,
    "h": 309.8
  },
  "luminance": 0.16058
}

Semantic roles & 50–950 ramp

primary
#9F41D7
secondary
#B2D99A
accent
#E8407F
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F41D7

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

Preview Lab → · Contrast checker → · Palette generator →

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