#9F73EC#9F73EC

#9F73EC is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.3% C 0.177 H 298.1°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9F73EC
RGBrgb(159, 115, 236)
HSLhsl(262, 76%, 69%)
HSVhsv(262, 51%, 93%)
CMYKcmyk(32.6%, 51.3%, 0%, 7.5%)
CIE-LABlab(57.74, 42.46, -55.14)
CIE-LCHlch(57.74, 69.59, 307.60°)
OKLaboklab(65.33% 0.0833 -0.1557)
OKLCHoklch(65.33% 0.177 298.1)
XYZxyz(35.5654, 25.6881, 82.4252)
Luminance0.2569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F73EC #C0EC73
analogous
#7384EC #9F73EC #DC73EC
triadic
#9F73EC #EC9F73 #73EC9F
tetradic
#9F73EC #EC7384 #C0EC73 #73ECDC
square
#9F73EC #EC7384 #C0EC73 #73ECDC
split-complementary
#9F73EC #ECDC73 #84EC73
monochromatic
#5B1BC9 #7A3DE5 #9F73EC #C4A9F3 #E9DFFB

Accessibility & contrast

On white

3.42
#9F73EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#9F73EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F73EC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F73EC#FFFFFF#000000##000000
##9F73EC1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#468BF0
Deuteranopia (green-blind)
#528AE9
Tritanopia (blue-blind)
#8E8BA5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9f73ec;
/* rgb */ color: rgb(159, 115, 236);
/* oklch */ color: oklch(65.3% 0.177 298.1);
Tailwind
colors: {
  custom: {
    50: '#bf9cf3',
    500: '#9f73ec',
    950: '#000000',
  },
}
SCSS
$custom: #9f73ec;
$custom-light: #bf9cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f73ec",
  "rgb": {
    "r": 159,
    "g": 115,
    "b": 236
  },
  "hsl": {
    "h": 261.818,
    "s": 76.101,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65326,
    "c": 0.17654,
    "h": 298.1
  },
  "luminance": 0.25689
}

Semantic roles & 50–950 ramp

primary
#9F73EC
secondary
#E2EFCC
accent
#D80D8E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9F73EC

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

Preview Lab → · Contrast checker → · Palette generator →

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