#9D73EF#9D73EF

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

Color values

HEX#9D73EF
RGBrgb(157, 115, 239)
HSLhsl(260, 79%, 69%)
HSVhsv(260, 52%, 94%)
CMYKcmyk(34.3%, 51.9%, 0%, 6.3%)
CIE-LABlab(57.71, 42.72, -56.86)
CIE-LCHlch(57.71, 71.12, 306.92°)
OKLaboklab(65.32% 0.081 -0.1608)
OKLCHoklch(65.32% 0.18 296.7)
XYZxyz(35.6114, 25.6610, 84.7215)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D73EF #C5EF73
analogous
#7387EF #9D73EF #DB73EF
triadic
#9D73EF #EF9D73 #73EF9D
tetradic
#9D73EF #EF7387 #C5EF73 #73EFDB
square
#9D73EF #EF7387 #C5EF73 #73EFDB
split-complementary
#9D73EF #EFDB73 #87EF73
monochromatic
#5618D0 #773CE9 #9D73EF #C3AAF5 #EAE1FC

Accessibility & contrast

On white

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

On black

6.13
#9D73EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D73EF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D73EF#FFFFFF#000000##000000
##9D73EF1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#428BF3
Deuteranopia (green-blind)
#4D89EC
Tritanopia (blue-blind)
#8A8CA6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9d73ef;
/* rgb */ color: rgb(157, 115, 239);
/* oklch */ color: oklch(65.3% 0.180 296.7);
Tailwind
colors: {
  custom: {
    50: '#be9cf5',
    500: '#9d73ef',
    950: '#000000',
  },
}
SCSS
$custom: #9d73ef;
$custom-light: #be9cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d73ef",
  "rgb": {
    "r": 157,
    "g": 115,
    "b": 239
  },
  "hsl": {
    "h": 260.323,
    "s": 79.487,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65316,
    "c": 0.18002,
    "h": 296.7
  },
  "luminance": 0.25662
}

Semantic roles & 50–950 ramp

primary
#9D73EF
secondary
#E5F1CD
accent
#DC0A95
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D73EF

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

Preview Lab → · Contrast checker → · Palette generator →

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