#9F41DF#9F41DF

#9F41DF is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.7% C 0.230 H 307.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9F41DF
RGBrgb(159, 65, 223)
HSLhsl(276, 71%, 56%)
HSVhsv(276, 71%, 87%)
CMYKcmyk(28.7%, 70.9%, 0%, 12.5%)
CIE-LABlab(47.60, 64.42, -64.13)
CIE-LCHlch(47.60, 90.90, 315.13°)
OKLaboklab(57.69% 0.1414 -0.1819)
OKLCHoklch(57.69% 0.23 307.9)
XYZxyz(29.5049, 16.4797, 71.4243)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F41DF #81DF41
analogous
#5041DF #9F41DF #DF41D0
triadic
#9F41DF #DF9F41 #41DF9F
tetradic
#9F41DF #DF5041 #81DF41 #41D0DF
square
#9F41DF #DF5041 #81DF41 #41D0DF
split-complementary
#9F41DF #D0DF41 #41DF50
monochromatic
#5E188E #8121C2 #9F41DF #B975E8 #D4AAF1

Accessibility & contrast

On white

4.89
#9F41DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9F41DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F41DF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F41DF#FFFFFF#000000##FFFFFF
##9F41DF1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE4
Deuteranopia (green-blind)
#0F72DC
Tritanopia (blue-blind)
#95658C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9f41df;
/* rgb */ color: rgb(159, 65, 223);
/* oklch */ color: oklch(57.7% 0.230 307.9);
Tailwind
colors: {
  custom: {
    50: '#c07dea',
    500: '#9f41df',
    950: '#000000',
  },
}
SCSS
$custom: #9f41df;
$custom-light: #c07dea;
$custom-dark: #000000;
JSON
{
  "hex": "#9f41df",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 223
  },
  "hsl": {
    "h": 275.696,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57688,
    "c": 0.23039,
    "h": 307.9
  },
  "luminance": 0.16479
}

Semantic roles & 50–950 ramp

primary
#9F41DF
secondary
#B8DE9D
accent
#EE3A83
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F41DF

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

Preview Lab → · Contrast checker → · Palette generator →

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