#9D41D6#9D41D6

#9D41D6 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.8% C 0.221 H 309.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9D41D6
RGBrgb(157, 65, 214)
HSLhsl(277, 65%, 55%)
HSVhsv(277, 70%, 84%)
CMYKcmyk(26.6%, 69.6%, 0%, 16.1%)
CIE-LABlab(46.72, 62.09, -60.43)
CIE-LCHlch(46.72, 86.64, 315.77°)
OKLaboklab(56.81% 0.14 -0.1711)
OKLCHoklch(56.81% 0.221 309.3)
XYZxyz(27.9301, 15.8043, 65.1845)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D41D6 #7AD641
analogous
#5341D6 #9D41D6 #D641C4
triadic
#9D41D6 #D69D41 #41D69D
tetradic
#9D41D6 #D65341 #7AD641 #41C4D6
square
#9D41D6 #D65341 #7AD641 #41C4D6
split-complementary
#9D41D6 #C4D641 #41D653
monochromatic
#5A1C81 #7D27B3 #9D41D6 #B773E1 #D1A6EC

Accessibility & contrast

On white

5.05
#9D41D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9D41D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D41D6
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D41D6#FFFFFF#000000##FFFFFF
##9D41D61.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#2270D3
Tritanopia (blue-blind)
#956287
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9d41d6;
/* rgb */ color: rgb(157, 65, 214);
/* oklch */ color: oklch(56.8% 0.221 309.3);
Tailwind
colors: {
  custom: {
    50: '#bf7de3',
    500: '#9d41d6',
    950: '#000000',
  },
}
SCSS
$custom: #9d41d6;
$custom-light: #bf7de3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d41d6",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 214
  },
  "hsl": {
    "h": 277.047,
    "s": 64.502,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56811,
    "c": 0.22109,
    "h": 309.3
  },
  "luminance": 0.15804
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D41D6

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

Preview Lab → · Contrast checker → · Palette generator →

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