#9D41D5#9D41D5

#9D41D5 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.7% C 0.220 H 309.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9D41D5
RGBrgb(157, 65, 213)
HSLhsl(277, 64%, 55%)
HSVhsv(277, 69%, 84%)
CMYKcmyk(26.3%, 69.5%, 0%, 16.5%)
CIE-LABlab(46.65, 61.87, -59.97)
CIE-LCHlch(46.65, 86.16, 315.90°)
OKLaboklab(56.74% 0.1402 -0.1697)
OKLCHoklch(56.74% 0.22 309.5)
XYZxyz(27.8028, 15.7533, 64.5140)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D41D5 #79D541
analogous
#5341D5 #9D41D5 #D541C3
triadic
#9D41D5 #D59D41 #41D59D
tetradic
#9D41D5 #D55341 #79D541 #41C3D5
square
#9D41D5 #D55341 #79D541 #41C3D5
split-complementary
#9D41D5 #C3D541 #41D553
monochromatic
#5A1C7F #7D27B2 #9D41D5 #B773E0 #D1A5EB

Accessibility & contrast

On white

5.06
#9D41D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9D41D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D41D5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D41D5#FFFFFF#000000##FFFFFF
##9D41D51.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#2470D2
Tritanopia (blue-blind)
#956287
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9d41d5;
/* rgb */ color: rgb(157, 65, 213);
/* oklch */ color: oklch(56.7% 0.220 309.5);
Tailwind
colors: {
  custom: {
    50: '#be7de3',
    500: '#9d41d5',
    950: '#000000',
  },
}
SCSS
$custom: #9d41d5;
$custom-light: #be7de3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d41d5",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 277.297,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56741,
    "c": 0.22012,
    "h": 309.5
  },
  "luminance": 0.15753
}

Semantic roles & 50–950 ramp

primary
#9D41D5
secondary
#B1D89A
accent
#E74180
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #9D41D5

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

Preview Lab → · Contrast checker → · Palette generator →

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