#9E50E5#9E50E5

#9E50E5 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.7% C 0.218 H 304.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9E50E5
RGBrgb(158, 80, 229)
HSLhsl(271, 74%, 61%)
HSVhsv(271, 65%, 90%)
CMYKcmyk(31%, 65.1%, 0%, 10.2%)
CIE-LABlab(50.29, 58.84, -63.18)
CIE-LCHlch(50.29, 86.33, 312.96°)
OKLaboklab(59.72% 0.1239 -0.1792)
OKLCHoklch(59.72% 0.218 304.6)
XYZxyz(31.1089, 18.6637, 76.0771)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E50E5 #97E550
analogous
#5350E5 #9E50E5 #E550E2
triadic
#9E50E5 #E59E50 #50E59E
tetradic
#9E50E5 #E55350 #97E550 #50E2E5
square
#9E50E5 #E55350 #97E550 #50E2E5
split-complementary
#9E50E5 #E2E550 #50E553
monochromatic
#6118A2 #8020D8 #9E50E5 #BC85ED #D9BBF5

Accessibility & contrast

On white

4.44
#9E50E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9E50E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E50E5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E50E5#FFFFFF#000000##000000
##9E50E51.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#2278E2
Tritanopia (blue-blind)
#917094
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9e50e5;
/* rgb */ color: rgb(158, 80, 229);
/* oklch */ color: oklch(59.7% 0.218 304.6);
Tailwind
colors: {
  custom: {
    50: '#bf86ee',
    500: '#9e50e5',
    950: '#000000',
  },
}
SCSS
$custom: #9e50e5;
$custom-light: #bf86ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9e50e5",
  "rgb": {
    "r": 158,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 271.409,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59716,
    "c": 0.21785,
    "h": 304.6
  },
  "luminance": 0.18664
}

Semantic roles & 50–950 ramp

primary
#9E50E5
secondary
#C7E5AC
accent
#D60F6E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E50E5

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

Preview Lab → · Contrast checker → · Palette generator →

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