#9E4DE8#9E4DE8

#9E4DE8 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.6% C 0.225 H 304.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9E4DE8
RGBrgb(158, 77, 232)
HSLhsl(271, 77%, 61%)
HSVhsv(271, 67%, 91%)
CMYKcmyk(31.9%, 66.8%, 0%, 9%)
CIE-LABlab(49.98, 60.94, -65.37)
CIE-LCHlch(49.98, 89.37, 312.99°)
OKLaboklab(59.56% 0.1268 -0.1856)
OKLCHoklch(59.56% 0.225 304.3)
XYZxyz(31.3166, 18.4032, 78.2306)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4DE8 #97E84D
analogous
#504DE8 #9E4DE8 #E84DE4
triadic
#9E4DE8 #E89E4D #4DE89E
tetradic
#9E4DE8 #E8504D #97E84D #4DE4E8
square
#9E4DE8 #E8504D #97E84D #4DE4E8
split-complementary
#9E4DE8 #E4E84D #4DE850
monochromatic
#6115A5 #801CDB #9E4DE8 #BC83EF #D9B9F6

Accessibility & contrast

On white

4.49
#9E4DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9E4DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E4DE8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4DE8#FFFFFF#000000##000000
##9E4DE81.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#1177E5
Tritanopia (blue-blind)
#907094
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e4de8;
/* rgb */ color: rgb(158, 77, 232);
/* oklch */ color: oklch(59.6% 0.225 304.3);
Tailwind
colors: {
  custom: {
    50: '#c084f0',
    500: '#9e4de8',
    950: '#000000',
  },
}
SCSS
$custom: #9e4de8;
$custom-light: #c084f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4de8",
  "rgb": {
    "r": 158,
    "g": 77,
    "b": 232
  },
  "hsl": {
    "h": 271.355,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59557,
    "c": 0.22479,
    "h": 304.3
  },
  "luminance": 0.18403
}

Semantic roles & 50–950 ramp

primary
#9E4DE8
secondary
#C7E6AB
accent
#D90C6E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9E4DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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