#9E50E3#9E50E3

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

Color values

HEX#9E50E3
RGBrgb(158, 80, 227)
HSLhsl(272, 72%, 60%)
HSVhsv(272, 65%, 89%)
CMYKcmyk(30.4%, 64.8%, 0%, 11%)
CIE-LABlab(50.16, 58.38, -62.26)
CIE-LCHlch(50.16, 85.35, 313.16°)
OKLaboklab(59.58% 0.124 -0.1765)
OKLCHoklch(59.58% 0.216 305.1)
XYZxyz(30.8313, 18.5527, 74.6149)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E50E3 #95E350
analogous
#5550E3 #9E50E3 #E350DE
triadic
#9E50E3 #E39E50 #50E39E
tetradic
#9E50E3 #E35550 #95E350 #50DEE3
square
#9E50E3 #E35550 #95E350 #50DEE3
split-complementary
#9E50E3 #DEE350 #50E355
monochromatic
#60199F #8022D4 #9E50E3 #BB85EB #D8BAF4

Accessibility & contrast

On white

4.46
#9E50E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9E50E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E50E3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E50E3#FFFFFF#000000##000000
##9E50E31.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#2677E0
Tritanopia (blue-blind)
#927093
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e50e3;
/* rgb */ color: rgb(158, 80, 227);
/* oklch */ color: oklch(59.6% 0.216 305.1);
Tailwind
colors: {
  custom: {
    50: '#bf86ed',
    500: '#9e50e3',
    950: '#000000',
  },
}
SCSS
$custom: #9e50e3;
$custom-light: #bf86ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9e50e3",
  "rgb": {
    "r": 158,
    "g": 80,
    "b": 227
  },
  "hsl": {
    "h": 271.837,
    "s": 72.414,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59579,
    "c": 0.21573,
    "h": 305.1
  },
  "luminance": 0.18552
}

Semantic roles & 50–950 ramp

primary
#9E50E3
secondary
#C6E4AB
accent
#D4116D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E50E3

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

Preview Lab → · Contrast checker → · Palette generator →

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