#9E50E4#9E50E4

#9E50E4 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.6% C 0.217 H 304.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9E50E4
RGBrgb(158, 80, 228)
HSLhsl(272, 73%, 60%)
HSVhsv(272, 65%, 89%)
CMYKcmyk(30.7%, 64.9%, 0%, 10.6%)
CIE-LABlab(50.23, 58.61, -62.72)
CIE-LCHlch(50.23, 85.84, 313.06°)
OKLaboklab(59.65% 0.1239 -0.1779)
OKLCHoklch(59.65% 0.217 304.9)
XYZxyz(30.9697, 18.6080, 75.3439)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E50E4 #96E450
analogous
#5450E4 #9E50E4 #E450E0
triadic
#9E50E4 #E49E50 #50E49E
tetradic
#9E50E4 #E45450 #96E450 #50E0E4
square
#9E50E4 #E45450 #96E450 #50E0E4
split-complementary
#9E50E4 #E0E450 #50E454
monochromatic
#6019A1 #8021D6 #9E50E4 #BB85EC #D9BAF4

Accessibility & contrast

On white

4.45
#9E50E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9E50E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E50E4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E50E4#FFFFFF#000000##000000
##9E50E41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#2478E1
Tritanopia (blue-blind)
#917093
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e50e4;
/* rgb */ color: rgb(158, 80, 228);
/* oklch */ color: oklch(59.6% 0.217 304.9);
Tailwind
colors: {
  custom: {
    50: '#bf86ed',
    500: '#9e50e4',
    950: '#000000',
  },
}
SCSS
$custom: #9e50e4;
$custom-light: #bf86ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9e50e4",
  "rgb": {
    "r": 158,
    "g": 80,
    "b": 228
  },
  "hsl": {
    "h": 271.622,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59648,
    "c": 0.21679,
    "h": 304.9
  },
  "luminance": 0.18608
}

Semantic roles & 50–950 ramp

primary
#9E50E4
secondary
#C6E4AC
accent
#D5106D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E50E4

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

Preview Lab → · Contrast checker → · Palette generator →

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