#9E4DE9#9E4DE9

#9E4DE9 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.6% C 0.226 H 304.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9E4DE9
RGBrgb(158, 77, 233)
HSLhsl(271, 78%, 61%)
HSVhsv(271, 67%, 91%)
CMYKcmyk(32.2%, 67%, 0%, 8.6%)
CIE-LABlab(50.05, 61.17, -65.82)
CIE-LCHlch(50.05, 89.86, 312.90°)
OKLaboklab(59.63% 0.1266 -0.187)
OKLCHoklch(59.63% 0.226 304.1)
XYZxyz(31.4591, 18.4601, 78.9808)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4DE9 #98E94D
analogous
#504DE9 #9E4DE9 #E94DE6
triadic
#9E4DE9 #E99E4D #4DE99E
tetradic
#9E4DE9 #E9504D #98E94D #4DE6E9
square
#9E4DE9 #E9504D #98E94D #4DE6E9
split-complementary
#9E4DE9 #E6E94D #4DE950
monochromatic
#6115A7 #801BDD #9E4DE9 #BC83F0 #D9BAF6

Accessibility & contrast

On white

4.48
#9E4DE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9E4DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E4DE9
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4DE9#FFFFFF#000000##000000
##9E4DE91.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EE
Deuteranopia (green-blind)
#0C77E6
Tritanopia (blue-blind)
#907095
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e4de9;
/* rgb */ color: rgb(158, 77, 233);
/* oklch */ color: oklch(59.6% 0.226 304.1);
Tailwind
colors: {
  custom: {
    50: '#c084f1',
    500: '#9e4de9',
    950: '#000000',
  },
}
SCSS
$custom: #9e4de9;
$custom-light: #c084f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4de9",
  "rgb": {
    "r": 158,
    "g": 77,
    "b": 233
  },
  "hsl": {
    "h": 271.154,
    "s": 78,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59627,
    "c": 0.22582,
    "h": 304.1
  },
  "luminance": 0.1846
}

Semantic roles & 50–950 ramp

primary
#9E4DE9
secondary
#C8E6AB
accent
#DA0B6F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9E4DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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