#9F41DC#9F41DC

#9F41DC is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.5% C 0.227 H 308.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9F41DC
RGBrgb(159, 65, 220)
HSLhsl(276, 69%, 56%)
HSVhsv(276, 70%, 86%)
CMYKcmyk(27.7%, 70.5%, 0%, 13.7%)
CIE-LABlab(47.39, 63.77, -62.75)
CIE-LCHlch(47.39, 89.47, 315.46°)
OKLaboklab(57.48% 0.1418 -0.1779)
OKLCHoklch(57.48% 0.227 308.6)
XYZxyz(29.1040, 16.3193, 69.3130)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F41DC #7EDC41
analogous
#5141DC #9F41DC #DC41CB
triadic
#9F41DC #DC9F41 #41DC9F
tetradic
#9F41DC #DC5141 #7EDC41 #41CBDC
square
#9F41DC #DC5141 #7EDC41 #41CBDC
split-complementary
#9F41DC #CBDC41 #41DC51
monochromatic
#5D1989 #8023BD #9F41DC #B975E6 #D3A8EF

Accessibility & contrast

On white

4.93
#9F41DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9F41DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F41DC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F41DC#FFFFFF#000000##FFFFFF
##9F41DC1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#1971D9
Tritanopia (blue-blind)
#96648A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9f41dc;
/* rgb */ color: rgb(159, 65, 220);
/* oklch */ color: oklch(57.5% 0.227 308.6);
Tailwind
colors: {
  custom: {
    50: '#c07de8',
    500: '#9f41dc',
    950: '#000000',
  },
}
SCSS
$custom: #9f41dc;
$custom-light: #c07de8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f41dc",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 276.387,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57476,
    "c": 0.22748,
    "h": 308.6
  },
  "luminance": 0.16319
}

Semantic roles & 50–950 ramp

primary
#9F41DC
secondary
#B6DD9C
accent
#EC3C81
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F41DC

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

Preview Lab → · Contrast checker → · Palette generator →

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