#9D41EA#9D41EA

#9D41EA is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.3% C 0.241 H 304.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9D41EA
RGBrgb(157, 65, 234)
HSLhsl(273, 80%, 59%)
HSVhsv(273, 72%, 92%)
CMYKcmyk(32.9%, 72.2%, 0%, 8.2%)
CIE-LABlab(48.12, 66.47, -69.52)
CIE-LCHlch(48.12, 96.18, 313.71°)
OKLaboklab(58.25% 0.1369 -0.1978)
OKLCHoklch(58.25% 0.241 304.7)
XYZxyz(30.6428, 16.8894, 79.4716)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D41EA #8EEA41
analogous
#4841EA #9D41EA #EA41E2
triadic
#9D41EA #EA9D41 #41EA9D
tetradic
#9D41EA #EA4841 #8EEA41 #41E2EA
square
#9D41EA #EA4841 #8EEA41 #41E2EA
split-complementary
#9D41EA #E2EA41 #41EA48
monochromatic
#5F129F #7F18D6 #9D41EA #B978F0 #D6AFF6

Accessibility & contrast

On white

4.80
#9D41EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9D41EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D41EA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D41EA#FFFFFF#000000##FFFFFF
##9D41EA1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EF
Deuteranopia (green-blind)
#0072E7
Tritanopia (blue-blind)
#8E6A92
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d41ea;
/* rgb */ color: rgb(157, 65, 234);
/* oklch */ color: oklch(58.3% 0.241 304.7);
Tailwind
colors: {
  custom: {
    50: '#c07ef2',
    500: '#9d41ea',
    950: '#000000',
  },
}
SCSS
$custom: #9d41ea;
$custom-light: #c07ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d41ea",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 272.663,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5825,
    "c": 0.24059,
    "h": 304.7
  },
  "luminance": 0.16889
}

Semantic roles & 50–950 ramp

primary
#9D41EA
secondary
#C0E5A2
accent
#F7318B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A17
muted
#827C85

Preview Lab

Preview with #9D41EA

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

Preview Lab → · Contrast checker → · Palette generator →

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