#9D41D8#9D41D8

#9D41D8 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 57.0% C 0.223 H 308.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9D41D8
RGBrgb(157, 65, 216)
HSLhsl(277, 66%, 55%)
HSVhsv(277, 70%, 85%)
CMYKcmyk(27.3%, 69.9%, 0%, 15.3%)
CIE-LABlab(46.85, 62.52, -61.35)
CIE-LCHlch(46.85, 87.59, 315.54°)
OKLaboklab(56.95% 0.1398 -0.1738)
OKLCHoklch(56.95% 0.223 308.8)
XYZxyz(28.1871, 15.9070, 66.5379)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D41D8 #7CD841
analogous
#5141D8 #9D41D8 #D841C8
triadic
#9D41D8 #D89D41 #41D89D
tetradic
#9D41D8 #D85141 #7CD841 #41C8D8
square
#9D41D8 #D85141 #7CD841 #41C8D8
split-complementary
#9D41D8 #C8D841 #41D851
monochromatic
#5B1B84 #7E25B6 #9D41D8 #B774E2 #D1A7ED

Accessibility & contrast

On white

5.02
#9D41D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9D41D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D41D8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D41D8#FFFFFF#000000##FFFFFF
##9D41D81.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#1E70D5
Tritanopia (blue-blind)
#946388
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9d41d8;
/* rgb */ color: rgb(157, 65, 216);
/* oklch */ color: oklch(57.0% 0.223 308.8);
Tailwind
colors: {
  custom: {
    50: '#bf7de5',
    500: '#9d41d8',
    950: '#000000',
  },
}
SCSS
$custom: #9d41d8;
$custom-light: #bf7de5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d41d8",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 276.556,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5695,
    "c": 0.22304,
    "h": 308.8
  },
  "luminance": 0.15907
}

Semantic roles & 50–950 ramp

primary
#9D41D8
secondary
#B3DA9B
accent
#E93F81
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9D41D8

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

Preview Lab → · Contrast checker → · Palette generator →

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