#9D41D9#9D41D9

#9D41D9 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.0% C 0.224 H 308.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9D41D9
RGBrgb(157, 65, 217)
HSLhsl(276, 67%, 55%)
HSVhsv(276, 70%, 85%)
CMYKcmyk(27.6%, 70%, 0%, 14.9%)
CIE-LABlab(46.92, 62.73, -61.81)
CIE-LCHlch(46.92, 88.07, 315.42°)
OKLaboklab(57.02% 0.1396 -0.1752)
OKLCHoklch(57.02% 0.224 308.6)
XYZxyz(28.3167, 15.9589, 67.2208)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D41D9 #7DD941
analogous
#5141D9 #9D41D9 #D941C9
triadic
#9D41D9 #D99D41 #41D99D
tetradic
#9D41D9 #D95141 #7DD941 #41C9D9
square
#9D41D9 #D95141 #7DD941 #41C9D9
split-complementary
#9D41D9 #C9D941 #41D951
monochromatic
#5B1B85 #7E25B8 #9D41D9 #B774E3 #D2A7ED

Accessibility & contrast

On white

5.01
#9D41D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9D41D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D41D9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D41D9#FFFFFF#000000##FFFFFF
##9D41D91.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#1B70D6
Tritanopia (blue-blind)
#946389
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9d41d9;
/* rgb */ color: rgb(157, 65, 217);
/* oklch */ color: oklch(57.0% 0.224 308.6);
Tailwind
colors: {
  custom: {
    50: '#bf7de6',
    500: '#9d41d9',
    950: '#000000',
  },
}
SCSS
$custom: #9d41d9;
$custom-light: #bf7de6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d41d9",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 276.316,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57021,
    "c": 0.22402,
    "h": 308.6
  },
  "luminance": 0.15958
}

Semantic roles & 50–950 ramp

primary
#9D41D9
secondary
#B4DB9B
accent
#EA3E82
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9D41D9

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

Preview Lab → · Contrast checker → · Palette generator →

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