#9173F3#9173F3

#9173F3 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.5% C 0.184 H 291.1°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9173F3
RGBrgb(145, 115, 243)
HSLhsl(254, 84%, 70%)
HSVhsv(254, 53%, 95%)
CMYKcmyk(40.3%, 52.7%, 0%, 4.7%)
CIE-LABlab(56.83, 40.94, -60.56)
CIE-LCHlch(56.83, 73.10, 304.06°)
OKLaboklab(64.47% 0.0665 -0.1719)
OKLCHoklch(64.47% 0.184 291.1)
XYZxyz(33.9810, 24.7513, 87.7637)
Luminance0.2475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9173F3 #D5F373
analogous
#7395F3 #9173F3 #D173F3
triadic
#9173F3 #F39173 #73F391
tetradic
#9173F3 #F37395 #D5F373 #73F3D1
square
#9173F3 #F37395 #D5F373 #73F3D1
split-complementary
#9173F3 #F3D173 #95F373
monochromatic
#4113D9 #653BEE #9173F3 #BDABF8 #E9E3FD

Accessibility & contrast

On white

3.53
#9173F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#9173F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9173F3
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9173F3#FFFFFF#000000##000000
##9173F31.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)
#388AF7
Deuteranopia (green-blind)
#3D86F0
Tritanopia (blue-blind)
#768EA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9173f3;
/* rgb */ color: rgb(145, 115, 243);
/* oklch */ color: oklch(64.5% 0.184 291.1);
Tailwind
colors: {
  custom: {
    50: '#b69cf8',
    500: '#9173f3',
    950: '#000000',
  },
}
SCSS
$custom: #9173f3;
$custom-light: #b69cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#9173f3",
  "rgb": {
    "r": 145,
    "g": 115,
    "b": 243
  },
  "hsl": {
    "h": 254.063,
    "s": 84.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64472,
    "c": 0.18435,
    "h": 291.1
  },
  "luminance": 0.24752
}

Semantic roles & 50–950 ramp

primary
#9173F3
secondary
#EAF3CF
accent
#E105AD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9173F3

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

Preview Lab → · Contrast checker → · Palette generator →

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