#9D41E2#9D41E2

#9D41E2 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.7% C 0.233 H 306.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9D41E2
RGBrgb(157, 65, 226)
HSLhsl(274, 74%, 57%)
HSVhsv(274, 71%, 89%)
CMYKcmyk(30.5%, 71.2%, 0%, 11.4%)
CIE-LABlab(47.55, 64.70, -65.92)
CIE-LCHlch(47.55, 92.37, 314.46°)
OKLaboklab(57.66% 0.1383 -0.1872)
OKLCHoklch(57.66% 0.233 306.5)
XYZxyz(29.5194, 16.4400, 73.5549)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D41E2 #86E241
analogous
#4D41E2 #9D41E2 #E241D6
triadic
#9D41E2 #E29D41 #41E29D
tetradic
#9D41E2 #E24D41 #86E241 #41D6E2
square
#9D41E2 #E24D41 #86E241 #41D6E2
split-complementary
#9D41E2 #D6E241 #41E24D
monochromatic
#5D1692 #7F1EC7 #9D41E2 #B876EA #D4ABF2

Accessibility & contrast

On white

4.90
#9D41E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9D41E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D41E2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D41E2#FFFFFF#000000##FFFFFF
##9D41E21.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#91678E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9d41e2;
/* rgb */ color: rgb(157, 65, 226);
/* oklch */ color: oklch(57.7% 0.233 306.5);
Tailwind
colors: {
  custom: {
    50: '#bf7dec',
    500: '#9d41e2',
    950: '#000000',
  },
}
SCSS
$custom: #9d41e2;
$custom-light: #bf7dec;
$custom-dark: #000000;
JSON
{
  "hex": "#9d41e2",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 226
  },
  "hsl": {
    "h": 274.286,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57663,
    "c": 0.23279,
    "h": 306.5
  },
  "luminance": 0.1644
}

Semantic roles & 50–950 ramp

primary
#9D41E2
secondary
#BBE09F
accent
#F03887
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9D41E2

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

Preview Lab → · Contrast checker → · Palette generator →

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