#9E50E2#9E50E2

#9E50E2 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.5% C 0.215 H 305.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9E50E2
RGBrgb(158, 80, 226)
HSLhsl(272, 72%, 60%)
HSVhsv(272, 65%, 89%)
CMYKcmyk(30.1%, 64.6%, 0%, 11.4%)
CIE-LABlab(50.09, 58.15, -61.80)
CIE-LCHlch(50.09, 84.85, 313.26°)
OKLaboklab(59.51% 0.1241 -0.1752)
OKLCHoklch(59.51% 0.215 305.3)
XYZxyz(30.6937, 18.4976, 73.8902)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E50E2 #94E250
analogous
#5550E2 #9E50E2 #E250DD
triadic
#9E50E2 #E29E50 #50E29E
tetradic
#9E50E2 #E25550 #94E250 #50DDE2
square
#9E50E2 #E25550 #94E250 #50DDE2
split-complementary
#9E50E2 #DDE250 #50E255
monochromatic
#601A9E #8023D2 #9E50E2 #BB84EB #D8B9F3

Accessibility & contrast

On white

4.47
#9E50E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9E50E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E50E2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E50E2#FFFFFF#000000##000000
##9E50E21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#2877DF
Tritanopia (blue-blind)
#926F92
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e50e2;
/* rgb */ color: rgb(158, 80, 226);
/* oklch */ color: oklch(59.5% 0.215 305.3);
Tailwind
colors: {
  custom: {
    50: '#bf86ec',
    500: '#9e50e2',
    950: '#000000',
  },
}
SCSS
$custom: #9e50e2;
$custom-light: #bf86ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9e50e2",
  "rgb": {
    "r": 158,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 272.055,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.59511,
    "c": 0.21468,
    "h": 305.3
  },
  "luminance": 0.18497
}

Semantic roles & 50–950 ramp

primary
#9E50E2
secondary
#C5E3AB
accent
#EE398E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E50E2

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

Preview Lab → · Contrast checker → · Palette generator →

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