#9E4AE8#9E4AE8

#9E4AE8 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.2% C 0.228 H 304.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9E4AE8
RGBrgb(158, 74, 232)
HSLhsl(272, 77%, 60%)
HSVhsv(272, 68%, 91%)
CMYKcmyk(31.9%, 68.1%, 0%, 9%)
CIE-LABlab(49.49, 62.31, -66.17)
CIE-LCHlch(49.49, 90.89, 313.28°)
OKLaboklab(59.2% 0.1299 -0.188)
OKLCHoklch(59.2% 0.228 304.6)
XYZxyz(31.1115, 17.9930, 78.1623)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4AE8 #94E84A
analogous
#4F4AE8 #9E4AE8 #E84AE3
triadic
#9E4AE8 #E89E4A #4AE89E
tetradic
#9E4AE8 #E84F4A #94E84A #4AE3E8
square
#9E4AE8 #E84F4A #94E84A #4AE3E8
split-complementary
#9E4AE8 #E3E84A #4AE84F
monochromatic
#6015A3 #801CD9 #9E4AE8 #BB80EF #D8B7F6

Accessibility & contrast

On white

4.57
#9E4AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9E4AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E4AE8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4AE8#FFFFFF#000000##000000
##9E4AE81.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074ED
Deuteranopia (green-blind)
#0276E5
Tritanopia (blue-blind)
#906E94
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9e4ae8;
/* rgb */ color: rgb(158, 74, 232);
/* oklch */ color: oklch(59.2% 0.228 304.6);
Tailwind
colors: {
  custom: {
    50: '#c082f0',
    500: '#9e4ae8',
    950: '#000000',
  },
}
SCSS
$custom: #9e4ae8;
$custom-light: #c082f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4ae8",
  "rgb": {
    "r": 158,
    "g": 74,
    "b": 232
  },
  "hsl": {
    "h": 271.899,
    "s": 77.451,
    "l": 60
  },
  "oklch": {
    "l": 0.59204,
    "c": 0.22847,
    "h": 304.6
  },
  "luminance": 0.17993
}

Semantic roles & 50–950 ramp

primary
#9E4AE8
secondary
#C5E5A8
accent
#F4348E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9E4AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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