#9E50E7#9E50E7

#9E50E7 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.9% C 0.220 H 304.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9E50E7
RGBrgb(158, 80, 231)
HSLhsl(271, 76%, 61%)
HSVhsv(271, 65%, 91%)
CMYKcmyk(31.6%, 65.4%, 0%, 9.4%)
CIE-LABlab(50.42, 59.30, -64.09)
CIE-LCHlch(50.42, 87.31, 312.78°)
OKLaboklab(59.85% 0.1237 -0.1819)
OKLCHoklch(59.85% 0.22 304.2)
XYZxyz(31.3898, 18.7761, 77.5563)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E50E7 #99E750
analogous
#5250E7 #9E50E7 #E750E5
triadic
#9E50E7 #E79E50 #50E79E
tetradic
#9E50E7 #E75250 #99E750 #50E5E7
square
#9E50E7 #E75250 #99E750 #50E5E7
split-complementary
#9E50E7 #E5E750 #50E752
monochromatic
#6117A6 #801EDC #9E50E7 #BC86EE #DABCF6

Accessibility & contrast

On white

4.42
#9E50E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#9E50E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E50E7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E50E7#FFFFFF#000000##000000
##9E50E71.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#1D78E4
Tritanopia (blue-blind)
#907195
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9e50e7;
/* rgb */ color: rgb(158, 80, 231);
/* oklch */ color: oklch(59.9% 0.220 304.2);
Tailwind
colors: {
  custom: {
    50: '#c086ef',
    500: '#9e50e7',
    950: '#000000',
  },
}
SCSS
$custom: #9e50e7;
$custom-light: #c086ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9e50e7",
  "rgb": {
    "r": 158,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 270.993,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59854,
    "c": 0.21995,
    "h": 304.2
  },
  "luminance": 0.18776
}

Semantic roles & 50–950 ramp

primary
#9E50E7
secondary
#C8E6AD
accent
#D80D6F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9E50E7

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

Preview Lab → · Contrast checker → · Palette generator →

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