#9E50CF#9E50CF

#9E50CF is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.3% C 0.195 H 310.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9E50CF
RGBrgb(158, 80, 207)
HSLhsl(277, 57%, 56%)
HSVhsv(277, 61%, 81%)
CMYKcmyk(23.7%, 61.4%, 0%, 18.8%)
CIE-LABlab(48.90, 53.86, -52.90)
CIE-LCHlch(48.90, 75.50, 315.52°)
OKLaboklab(58.27% 0.1251 -0.149)
OKLCHoklch(58.27% 0.195 310)
XYZxyz(28.2295, 17.5120, 60.9124)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E50CF #81CF50
analogous
#5F50CF #9E50CF #CF50C1
triadic
#9E50CF #CF9E50 #50CF9E
tetradic
#9E50CF #CF5F50 #81CF50 #50C1CF
square
#9E50CF #CF5F50 #81CF50 #50C1CF
split-complementary
#9E50CF #C1CF50 #50CF5F
monochromatic
#5D2381 #8031B1 #9E50CF #B980DC #D3B0E9

Accessibility & contrast

On white

4.66
#9E50CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9E50CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E50CF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E50CF#FFFFFF#000000##FFFFFF
##9E50CF1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1771D3
Deuteranopia (green-blind)
#4175CC
Tritanopia (blue-blind)
#976988
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9e50cf;
/* rgb */ color: rgb(158, 80, 207);
/* oklch */ color: oklch(58.3% 0.195 310.0);
Tailwind
colors: {
  custom: {
    50: '#be85de',
    500: '#9e50cf',
    950: '#000000',
  },
}
SCSS
$custom: #9e50cf;
$custom-light: #be85de;
$custom-dark: #000000;
JSON
{
  "hex": "#9e50cf",
  "rgb": {
    "r": 158,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 276.85,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58265,
    "c": 0.19459,
    "h": 310
  },
  "luminance": 0.17511
}

Semantic roles & 50–950 ramp

primary
#9E50CF
secondary
#B7D8A3
accent
#E04882
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9E50CF

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

Preview Lab → · Contrast checker → · Palette generator →

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