#9E50C8#9E50C8

#9E50C8 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.8% C 0.187 H 312.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9E50C8
RGBrgb(158, 80, 200)
HSLhsl(279, 52%, 55%)
HSVhsv(279, 60%, 78%)
CMYKcmyk(21%, 60%, 0%, 21.6%)
CIE-LABlab(48.48, 52.33, -49.54)
CIE-LCHlch(48.48, 72.06, 316.57°)
OKLaboklab(57.83% 0.1252 -0.1392)
OKLCHoklch(57.83% 0.187 312)
XYZxyz(27.3927, 17.1772, 56.5049)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E50C8 #7AC850
analogous
#6250C8 #9E50C8 #C850B6
triadic
#9E50C8 #C89E50 #50C89E
tetradic
#9E50C8 #C86250 #7AC850 #50B6C8
square
#9E50C8 #C86250 #7AC850 #50B6C8
split-complementary
#9E50C8 #B6C850 #50C862
monochromatic
#5B2678 #7F34A6 #9E50C8 #B87FD7 #D2ADE5

Accessibility & contrast

On white

4.73
#9E50C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9E50C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E50C8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E50C8#FFFFFF#000000##FFFFFF
##9E50C81.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256FCC
Deuteranopia (green-blind)
#4775C5
Tritanopia (blue-blind)
#996684
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e50c8;
/* rgb */ color: rgb(158, 80, 200);
/* oklch */ color: oklch(57.8% 0.187 312.0);
Tailwind
colors: {
  custom: {
    50: '#be85d9',
    500: '#9e50c8',
    950: '#000000',
  },
}
SCSS
$custom: #9e50c8;
$custom-light: #be85d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e50c8",
  "rgb": {
    "r": 158,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 279,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57829,
    "c": 0.1872,
    "h": 312
  },
  "luminance": 0.17177
}

Semantic roles & 50–950 ramp

primary
#9E50C8
secondary
#B2D3A1
accent
#DC4C7E
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B15
muted
#817C83

Preview Lab

Preview with #9E50C8

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

Preview Lab → · Contrast checker → · Palette generator →

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