#9E4DEA#9E4DEA

#9E4DEA is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.7% C 0.227 H 303.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9E4DEA
RGBrgb(158, 77, 234)
HSLhsl(271, 79%, 61%)
HSVhsv(271, 67%, 92%)
CMYKcmyk(32.5%, 67.1%, 0%, 8.2%)
CIE-LABlab(50.12, 61.40, -66.28)
CIE-LCHlch(50.12, 90.34, 312.81°)
OKLaboklab(59.7% 0.1265 -0.1883)
OKLCHoklch(59.7% 0.227 303.9)
XYZxyz(31.6023, 18.5174, 79.7353)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4DEA #99EA4D
analogous
#4F4DEA #9E4DEA #EA4DE8
triadic
#9E4DEA #EA9E4D #4DEA9E
tetradic
#9E4DEA #EA4F4D #99EA4D #4DE8EA
square
#9E4DEA #EA4F4D #99EA4D #4DE8EA
split-complementary
#9E4DEA #E8EA4D #4DEA4F
monochromatic
#6114A9 #801ADF #9E4DEA #BC84F0 #DABAF7

Accessibility & contrast

On white

4.46
#9E4DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9E4DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E4DEA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4DEA#FFFFFF#000000##000000
##9E4DEA1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#0677E7
Tritanopia (blue-blind)
#8F7196
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e4dea;
/* rgb */ color: rgb(158, 77, 234);
/* oklch */ color: oklch(59.7% 0.227 303.9);
Tailwind
colors: {
  custom: {
    50: '#c084f2',
    500: '#9e4dea',
    950: '#000000',
  },
}
SCSS
$custom: #9e4dea;
$custom-light: #c084f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4dea",
  "rgb": {
    "r": 158,
    "g": 77,
    "b": 234
  },
  "hsl": {
    "h": 270.955,
    "s": 78.894,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59698,
    "c": 0.22686,
    "h": 303.9
  },
  "luminance": 0.18517
}

Semantic roles & 50–950 ramp

primary
#9E4DEA
secondary
#C8E7AC
accent
#DB0A6F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9E4DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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