#9173FA#9173FA

#9173FA is a light, vivid violet. Relative luminance 0.252; OKLCH L 64.9% C 0.193 H 290.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9173FA
RGBrgb(145, 115, 250)
HSLhsl(253, 93%, 72%)
HSVhsv(253, 54%, 98%)
CMYKcmyk(42%, 54%, 0%, 2%)
CIE-LABlab(57.25, 42.84, -63.76)
CIE-LCHlch(57.25, 76.81, 303.90°)
OKLaboklab(64.92% 0.0667 -0.1814)
OKLCHoklch(64.92% 0.193 290.2)
XYZxyz(35.0583, 25.1822, 93.4374)
Luminance0.2518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9173FA #DCFA73
analogous
#7399FA #9173FA #D473FA
triadic
#9173FA #FA9173 #73FA91
tetradic
#9173FA #FA7399 #DCFA73 #73FAD4
square
#9173FA #FA7399 #DCFA73 #73FAD4
split-complementary
#9173FA #FAD473 #99FA73
monochromatic
#3B08EA #6338F8 #9173FA #BFAEFC #E8E1FE

Accessibility & contrast

On white

3.48
#9173FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#9173FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9173FA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9173FA#FFFFFF#000000##000000
##9173FA1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8CFF
Deuteranopia (green-blind)
#3386F7
Tritanopia (blue-blind)
#7390AC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9173fa;
/* rgb */ color: rgb(145, 115, 250);
/* oklch */ color: oklch(64.9% 0.193 290.2);
Tailwind
colors: {
  custom: {
    50: '#b79cfd',
    500: '#9173fa',
    950: '#000000',
  },
}
SCSS
$custom: #9173fa;
$custom-light: #b79cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9173fa",
  "rgb": {
    "r": 145,
    "g": 115,
    "b": 250
  },
  "hsl": {
    "h": 253.333,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64918,
    "c": 0.19324,
    "h": 290.2
  },
  "luminance": 0.25183
}

Semantic roles & 50–950 ramp

primary
#9173FA
secondary
#EEF6D3
accent
#E600B3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9173FA

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

Preview Lab → · Contrast checker → · Palette generator →

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