#9C73E1#9C73E1

#9C73E1 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.4% C 0.162 H 299.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9C73E1
RGBrgb(156, 115, 225)
HSLhsl(262, 65%, 67%)
HSVhsv(262, 49%, 88%)
CMYKcmyk(30.7%, 48.9%, 0%, 11.8%)
CIE-LABlab(56.85, 38.94, -50.43)
CIE-LCHlch(56.85, 63.72, 307.67°)
OKLaboklab(64.4% 0.0787 -0.142)
OKLCHoklch(64.4% 0.162 299)
XYZxyz(33.4284, 24.7654, 74.2386)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C73E1 #B8E173
analogous
#7381E1 #9C73E1 #D373E1
triadic
#9C73E1 #E19C73 #73E19C
tetradic
#9C73E1 #E17381 #B8E173 #73E1D3
square
#9C73E1 #E17381 #B8E173 #73E1D3
split-complementary
#9C73E1 #E1D373 #81E173
monochromatic
#5B26B3 #7841D6 #9C73E1 #C0A5EC #E3D8F7

Accessibility & contrast

On white

3.53
#9C73E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#9C73E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C73E1
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C73E1#FFFFFF#000000##000000
##9C73E11.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E88E5
Deuteranopia (green-blind)
#5887DE
Tritanopia (blue-blind)
#8E889F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9c73e1;
/* rgb */ color: rgb(156, 115, 225);
/* oklch */ color: oklch(64.4% 0.162 299.0);
Tailwind
colors: {
  custom: {
    50: '#bc9ceb',
    500: '#9c73e1',
    950: '#000000',
  },
}
SCSS
$custom: #9c73e1;
$custom-light: #bc9ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c73e1",
  "rgb": {
    "r": 156,
    "g": 115,
    "b": 225
  },
  "hsl": {
    "h": 262.364,
    "s": 64.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64398,
    "c": 0.16231,
    "h": 299
  },
  "luminance": 0.24766
}

Semantic roles & 50–950 ramp

primary
#9C73E1
secondary
#DCEAC6
accent
#CD198A
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9C73E1

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

Preview Lab → · Contrast checker → · Palette generator →

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