#9E73EC#9E73EC

#9E73EC is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.2% C 0.176 H 297.7°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9E73EC
RGBrgb(158, 115, 236)
HSLhsl(261, 76%, 69%)
HSVhsv(261, 51%, 93%)
CMYKcmyk(33.1%, 51.3%, 0%, 7.5%)
CIE-LABlab(57.64, 42.21, -55.30)
CIE-LCHlch(57.64, 69.57, 307.35°)
OKLaboklab(65.23% 0.082 -0.1562)
OKLCHoklch(65.23% 0.176 297.7)
XYZxyz(35.3679, 25.5863, 82.4159)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E73EC #C1EC73
analogous
#7385EC #9E73EC #DB73EC
triadic
#9E73EC #EC9E73 #73EC9E
tetradic
#9E73EC #EC7385 #C1EC73 #73ECDB
square
#9E73EC #EC7385 #C1EC73 #73ECDB
split-complementary
#9E73EC #ECDB73 #85EC73
monochromatic
#591BC9 #793DE5 #9E73EC #C3A9F3 #E9DFFB

Accessibility & contrast

On white

3.43
#9E73EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#9E73EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E73EC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E73EC#FFFFFF#000000##000000
##9E73EC1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#468BF0
Deuteranopia (green-blind)
#5189E9
Tritanopia (blue-blind)
#8D8BA5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e73ec;
/* rgb */ color: rgb(158, 115, 236);
/* oklch */ color: oklch(65.2% 0.176 297.7);
Tailwind
colors: {
  custom: {
    50: '#be9cf3',
    500: '#9e73ec',
    950: '#000000',
  },
}
SCSS
$custom: #9e73ec;
$custom-light: #be9cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e73ec",
  "rgb": {
    "r": 158,
    "g": 115,
    "b": 236
  },
  "hsl": {
    "h": 261.322,
    "s": 76.101,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65231,
    "c": 0.17641,
    "h": 297.7
  },
  "luminance": 0.25587
}

Semantic roles & 50–950 ramp

primary
#9E73EC
secondary
#E3EFCC
accent
#D80D90
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9E73EC

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

Preview Lab → · Contrast checker → · Palette generator →

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