#9E4AE6#9E4AE6

#9E4AE6 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.1% C 0.226 H 305.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9E4AE6
RGBrgb(158, 74, 230)
HSLhsl(272, 76%, 60%)
HSVhsv(272, 68%, 90%)
CMYKcmyk(31.3%, 67.8%, 0%, 9.8%)
CIE-LABlab(49.35, 61.86, -65.26)
CIE-LCHlch(49.35, 89.92, 313.47°)
OKLaboklab(59.06% 0.1301 -0.1853)
OKLCHoklch(59.06% 0.226 305.1)
XYZxyz(30.8291, 17.8800, 76.6746)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4AE6 #92E64A
analogous
#504AE6 #9E4AE6 #E64AE0
triadic
#9E4AE6 #E69E4A #4AE69E
tetradic
#9E4AE6 #E6504A #92E64A #4AE0E6
square
#9E4AE6 #E6504A #92E64A #4AE0E6
split-complementary
#9E4AE6 #E0E64A #4AE650
monochromatic
#6016A0 #801DD5 #9E4AE6 #BB80ED #D8B6F5

Accessibility & contrast

On white

4.59
#9E4AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9E4AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4AE6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4AE6#FFFFFF#000000##FFFFFF
##9E4AE61.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0D75E3
Tritanopia (blue-blind)
#916D92
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9e4ae6;
/* rgb */ color: rgb(158, 74, 230);
/* oklch */ color: oklch(59.1% 0.226 305.1);
Tailwind
colors: {
  custom: {
    50: '#c082ef',
    500: '#9e4ae6',
    950: '#000000',
  },
}
SCSS
$custom: #9e4ae6;
$custom-light: #c082ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4ae6",
  "rgb": {
    "r": 158,
    "g": 74,
    "b": 230
  },
  "hsl": {
    "h": 272.308,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59062,
    "c": 0.22643,
    "h": 305.1
  },
  "luminance": 0.1788
}

Semantic roles & 50–950 ramp

primary
#9E4AE6
secondary
#C4E4A8
accent
#F2358D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9E4AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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