#9E4EEB#9E4EEB

#9E4EEB is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.9% C 0.227 H 303.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9E4EEB
RGBrgb(158, 78, 235)
HSLhsl(271, 80%, 61%)
HSVhsv(271, 67%, 92%)
CMYKcmyk(32.8%, 66.8%, 0%, 7.8%)
CIE-LABlab(50.35, 61.16, -66.46)
CIE-LCHlch(50.35, 90.32, 312.63°)
OKLaboklab(59.89% 0.1254 -0.1888)
OKLCHoklch(59.89% 0.227 303.6)
XYZxyz(31.8169, 18.7161, 80.5175)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4EEB #9BEB4E
analogous
#504EEB #9E4EEB #EB4EEA
triadic
#9E4EEB #EB9E4E #4EEB9E
tetradic
#9E4EEB #EB504E #9BEB4E #4EEAEB
square
#9E4EEB #EB504E #9BEB4E #4EEAEB
split-complementary
#9E4EEB #EAEB4E #4EEB50
monochromatic
#6113AB #801AE2 #9E4EEB #BC85F1 #DABCF7

Accessibility & contrast

On white

4.43
#9E4EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#9E4EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E4EEB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4EEB#FFFFFF#000000##000000
##9E4EEB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#0678E8
Tritanopia (blue-blind)
#8F7296
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9e4eeb;
/* rgb */ color: rgb(158, 78, 235);
/* oklch */ color: oklch(59.9% 0.227 303.6);
Tailwind
colors: {
  custom: {
    50: '#c085f2',
    500: '#9e4eeb',
    950: '#000000',
  },
}
SCSS
$custom: #9e4eeb;
$custom-light: #c085f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4eeb",
  "rgb": {
    "r": 158,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 270.573,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59888,
    "c": 0.22666,
    "h": 303.6
  },
  "luminance": 0.18716
}

Semantic roles & 50–950 ramp

primary
#9E4EEB
secondary
#CAE8AD
accent
#DC0971
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9E4EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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