#9D41E4#9D41E4

#9D41E4 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.8% C 0.235 H 306.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9D41E4
RGBrgb(157, 65, 228)
HSLhsl(274, 75%, 57%)
HSVhsv(274, 71%, 89%)
CMYKcmyk(31.1%, 71.5%, 0%, 10.6%)
CIE-LABlab(47.69, 65.14, -66.83)
CIE-LCHlch(47.69, 93.32, 314.27°)
OKLaboklab(57.81% 0.138 -0.1899)
OKLCHoklch(57.81% 0.235 306)
XYZxyz(29.7954, 16.5504, 75.0086)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D41E4 #88E441
analogous
#4C41E4 #9D41E4 #E441D9
triadic
#9D41E4 #E49D41 #41E49D
tetradic
#9D41E4 #E44C41 #88E441 #41D9E4
square
#9D41E4 #E44C41 #88E441 #41D9E4
split-complementary
#9D41E4 #D9E441 #41E44C
monochromatic
#5E1595 #7F1DCB #9D41E4 #B977EC #D4ACF3

Accessibility & contrast

On white

4.87
#9D41E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9D41E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D41E4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D41E4#FFFFFF#000000##FFFFFF
##9D41E41.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0072E1
Tritanopia (blue-blind)
#90688F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9d41e4;
/* rgb */ color: rgb(157, 65, 228);
/* oklch */ color: oklch(57.8% 0.235 306.0);
Tailwind
colors: {
  custom: {
    50: '#bf7ded',
    500: '#9d41e4',
    950: '#000000',
  },
}
SCSS
$custom: #9d41e4;
$custom-light: #bf7ded;
$custom-dark: #000000;
JSON
{
  "hex": "#9d41e4",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 228
  },
  "hsl": {
    "h": 273.865,
    "s": 75.115,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57808,
    "c": 0.23474,
    "h": 306
  },
  "luminance": 0.1655
}

Semantic roles & 50–950 ramp

primary
#9D41E4
secondary
#BCE19F
accent
#F23688
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9D41E4

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

Preview Lab → · Contrast checker → · Palette generator →

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