#9D41D7#9D41D7

#9D41D7 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.9% C 0.222 H 309.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9D41D7
RGBrgb(157, 65, 215)
HSLhsl(277, 65%, 55%)
HSVhsv(277, 70%, 84%)
CMYKcmyk(27%, 69.8%, 0%, 15.7%)
CIE-LABlab(46.78, 62.30, -60.89)
CIE-LCHlch(46.78, 87.12, 315.66°)
OKLaboklab(56.88% 0.1399 -0.1725)
OKLCHoklch(56.88% 0.222 309)
XYZxyz(28.0582, 15.8555, 65.8591)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D41D7 #7BD741
analogous
#5241D7 #9D41D7 #D741C6
triadic
#9D41D7 #D79D41 #41D79D
tetradic
#9D41D7 #D75241 #7BD741 #41C6D7
square
#9D41D7 #D75241 #7BD741 #41C6D7
split-complementary
#9D41D7 #C6D741 #41D752
monochromatic
#5A1B82 #7E26B5 #9D41D7 #B774E2 #D1A6EC

Accessibility & contrast

On white

5.03
#9D41D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9D41D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D41D7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D41D7#FFFFFF#000000##FFFFFF
##9D41D71.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#2070D4
Tritanopia (blue-blind)
#946288
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9d41d7;
/* rgb */ color: rgb(157, 65, 215);
/* oklch */ color: oklch(56.9% 0.222 309.0);
Tailwind
colors: {
  custom: {
    50: '#bf7de4',
    500: '#9d41d7',
    950: '#000000',
  },
}
SCSS
$custom: #9d41d7;
$custom-light: #bf7de4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d41d7",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 215
  },
  "hsl": {
    "h": 276.8,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5688,
    "c": 0.22207,
    "h": 309
  },
  "luminance": 0.15855
}

Semantic roles & 50–950 ramp

primary
#9D41D7
secondary
#B3D99A
accent
#E84081
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9D41D7

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

Preview Lab → · Contrast checker → · Palette generator →

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