#9D73EB#9D73EB

#9D73EB is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.1% C 0.175 H 297.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9D73EB
RGBrgb(157, 115, 235)
HSLhsl(261, 75%, 69%)
HSVhsv(261, 51%, 92%)
CMYKcmyk(33.2%, 51.1%, 0%, 7.8%)
CIE-LABlab(57.49, 41.71, -54.99)
CIE-LCHlch(57.49, 69.02, 307.18°)
OKLaboklab(65.08% 0.0807 -0.1553)
OKLCHoklch(65.08% 0.175 297.5)
XYZxyz(35.0271, 25.4273, 81.6437)
Luminance0.2543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D73EB #C1EB73
analogous
#7385EB #9D73EB #D973EB
triadic
#9D73EB #EB9D73 #73EB9D
tetradic
#9D73EB #EB7385 #C1EB73 #73EBD9
square
#9D73EB #EB7385 #C1EB73 #73EBD9
split-complementary
#9D73EB #EBD973 #85EB73
monochromatic
#581CC7 #783DE3 #9D73EB #C2A9F3 #E8DEFA

Accessibility & contrast

On white

3.45
#9D73EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#9D73EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D73EB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D73EB#FFFFFF#000000##000000
##9D73EB1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEF
Deuteranopia (green-blind)
#5189E8
Tritanopia (blue-blind)
#8C8AA4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d73eb;
/* rgb */ color: rgb(157, 115, 235);
/* oklch */ color: oklch(65.1% 0.175 297.5);
Tailwind
colors: {
  custom: {
    50: '#bd9cf2',
    500: '#9d73eb',
    950: '#000000',
  },
}
SCSS
$custom: #9d73eb;
$custom-light: #bd9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d73eb",
  "rgb": {
    "r": 157,
    "g": 115,
    "b": 235
  },
  "hsl": {
    "h": 261,
    "s": 75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65076,
    "c": 0.17503,
    "h": 297.5
  },
  "luminance": 0.25428
}

Semantic roles & 50–950 ramp

primary
#9D73EB
secondary
#E2EFCB
accent
#D70E91
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D73EB

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

Preview Lab → · Contrast checker → · Palette generator →

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