#9E4CE8#9E4CE8

#9E4CE8 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.4% C 0.226 H 304.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9E4CE8
RGBrgb(158, 76, 232)
HSLhsl(272, 77%, 60%)
HSVhsv(272, 67%, 91%)
CMYKcmyk(31.9%, 67.2%, 0%, 9%)
CIE-LABlab(49.82, 61.40, -65.64)
CIE-LCHlch(49.82, 89.88, 313.09°)
OKLaboklab(59.44% 0.1278 -0.1864)
OKLCHoklch(59.44% 0.226 304.4)
XYZxyz(31.2472, 18.2643, 78.2075)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4CE8 #96E84C
analogous
#504CE8 #9E4CE8 #E84CE4
triadic
#9E4CE8 #E89E4C #4CE89E
tetradic
#9E4CE8 #E8504C #96E84C #4CE4E8
square
#9E4CE8 #E8504C #96E84C #4CE4E8
split-complementary
#9E4CE8 #E4E84C #4CE850
monochromatic
#6015A4 #801CDB #9E4CE8 #BB82EF #D9B8F6

Accessibility & contrast

On white

4.51
#9E4CE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9E4CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E4CE8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4CE8#FFFFFF#000000##000000
##9E4CE81.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074ED
Deuteranopia (green-blind)
#0C76E5
Tritanopia (blue-blind)
#906F94
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9e4ce8;
/* rgb */ color: rgb(158, 76, 232);
/* oklch */ color: oklch(59.4% 0.226 304.4);
Tailwind
colors: {
  custom: {
    50: '#c084f0',
    500: '#9e4ce8',
    950: '#000000',
  },
}
SCSS
$custom: #9e4ce8;
$custom-light: #c084f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4ce8",
  "rgb": {
    "r": 158,
    "g": 76,
    "b": 232
  },
  "hsl": {
    "h": 271.538,
    "s": 77.228,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59438,
    "c": 0.22603,
    "h": 304.4
  },
  "luminance": 0.18264
}

Semantic roles & 50–950 ramp

primary
#9E4CE8
secondary
#C6E6AA
accent
#D90C6D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9E4CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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