#9E4AED#9E4AED

#9E4AED is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.6% C 0.234 H 303.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9E4AED
RGBrgb(158, 74, 237)
HSLhsl(271, 82%, 61%)
HSVhsv(271, 69%, 93%)
CMYKcmyk(33.3%, 68.8%, 0%, 7.1%)
CIE-LABlab(49.84, 63.45, -68.42)
CIE-LCHlch(49.84, 93.31, 312.84°)
OKLaboklab(59.56% 0.1292 -0.1946)
OKLCHoklch(59.56% 0.234 303.6)
XYZxyz(31.8319, 18.2811, 81.9560)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4AED #99ED4A
analogous
#4C4AED #9E4AED #ED4AEB
triadic
#9E4AED #ED9E4A #4AED9E
tetradic
#9E4AED #ED4C4A #99ED4A #4AEBED
square
#9E4AED #ED4C4A #99ED4A #4AEBED
split-complementary
#9E4AED #EBED4A #4AED4C
monochromatic
#6111AC #8017E3 #9E4AED #BC82F3 #DAB9F8

Accessibility & contrast

On white

4.51
#9E4AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9E4AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E4AED
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4AED#FFFFFF#000000##000000
##9E4AED1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#8F7096
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9e4aed;
/* rgb */ color: rgb(158, 74, 237);
/* oklch */ color: oklch(59.6% 0.234 303.6);
Tailwind
colors: {
  custom: {
    50: '#c083f4',
    500: '#9e4aed',
    950: '#000000',
  },
}
SCSS
$custom: #9e4aed;
$custom-light: #c083f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4aed",
  "rgb": {
    "r": 158,
    "g": 74,
    "b": 237
  },
  "hsl": {
    "h": 270.92,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59562,
    "c": 0.23356,
    "h": 303.6
  },
  "luminance": 0.18281
}

Semantic roles & 50–950 ramp

primary
#9E4AED
secondary
#C8E8AB
accent
#DE076F
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9E4AED

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

Preview Lab → · Contrast checker → · Palette generator →

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