#9173EF#9173EF

#9173EF is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.2% C 0.179 H 291.7°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9173EF
RGBrgb(145, 115, 239)
HSLhsl(255, 79%, 69%)
HSVhsv(255, 52%, 94%)
CMYKcmyk(39.3%, 51.9%, 0%, 6.3%)
CIE-LABlab(56.60, 39.86, -58.71)
CIE-LCHlch(56.60, 70.96, 304.17°)
OKLaboklab(64.22% 0.0663 -0.1665)
OKLCHoklch(64.22% 0.179 291.7)
XYZxyz(33.3836, 24.5123, 84.6171)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9173EF #D1EF73
analogous
#7393EF #9173EF #CF73EF
triadic
#9173EF #EF9173 #73EF91
tetradic
#9173EF #EF7393 #D1EF73 #73EFCF
square
#9173EF #EF7393 #D1EF73 #73EFCF
split-complementary
#9173EF #EFCF73 #93EF73
monochromatic
#4418D0 #663CE9 #9173EF #BCAAF5 #E7E1FC

Accessibility & contrast

On white

3.56
#9173EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#9173EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9173EF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9173EF#FFFFFF#000000##000000
##9173EF1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8AF3
Deuteranopia (green-blind)
#4285EC
Tritanopia (blue-blind)
#788DA6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9173ef;
/* rgb */ color: rgb(145, 115, 239);
/* oklch */ color: oklch(64.2% 0.179 291.7);
Tailwind
colors: {
  custom: {
    50: '#b69cf5',
    500: '#9173ef',
    950: '#000000',
  },
}
SCSS
$custom: #9173ef;
$custom-light: #b69cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#9173ef",
  "rgb": {
    "r": 145,
    "g": 115,
    "b": 239
  },
  "hsl": {
    "h": 254.516,
    "s": 79.487,
    "l": 69.412
  },
  "oklch": {
    "l": 0.64221,
    "c": 0.17923,
    "h": 291.7
  },
  "luminance": 0.24513
}

Semantic roles & 50–950 ramp

primary
#9173EF
secondary
#E8F1CD
accent
#DC0AA9
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9173EF

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

Preview Lab → · Contrast checker → · Palette generator →

#9173EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva