#9E4EEA#9E4EEA

#9E4EEA is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.8% C 0.226 H 303.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9E4EEA
RGBrgb(158, 78, 234)
HSLhsl(271, 79%, 61%)
HSVhsv(271, 67%, 92%)
CMYKcmyk(32.5%, 66.7%, 0%, 8.2%)
CIE-LABlab(50.29, 60.93, -66.00)
CIE-LCHlch(50.29, 89.83, 312.71°)
OKLaboklab(59.82% 0.1255 -0.1875)
OKLCHoklch(59.82% 0.226 303.8)
XYZxyz(31.6728, 18.6585, 79.7588)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4EEA #9AEA4E
analogous
#504EEA #9E4EEA #EA4EE8
triadic
#9E4EEA #EA9E4E #4EEA9E
tetradic
#9E4EEA #EA504E #9AEA4E #4EE8EA
square
#9E4EEA #EA504E #9AEA4E #4EE8EA
split-complementary
#9E4EEA #E8EA4E #4EEA50
monochromatic
#6114A9 #801BE0 #9E4EEA #BC85F0 #DABBF7

Accessibility & contrast

On white

4.44
#9E4EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9E4EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E4EEA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4EEA#FFFFFF#000000##000000
##9E4EEA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#0C77E7
Tritanopia (blue-blind)
#8F7196
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9e4eea;
/* rgb */ color: rgb(158, 78, 234);
/* oklch */ color: oklch(59.8% 0.226 303.8);
Tailwind
colors: {
  custom: {
    50: '#c085f2',
    500: '#9e4eea',
    950: '#000000',
  },
}
SCSS
$custom: #9e4eea;
$custom-light: #c085f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4eea",
  "rgb": {
    "r": 158,
    "g": 78,
    "b": 234
  },
  "hsl": {
    "h": 270.769,
    "s": 78.788,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59818,
    "c": 0.22562,
    "h": 303.8
  },
  "luminance": 0.18658
}

Semantic roles & 50–950 ramp

primary
#9E4EEA
secondary
#C9E7AD
accent
#DB0A70
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9E4EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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