#9178FA#9178FA

#9178FA is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.7% C 0.186 H 289.1°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9178FA
RGBrgb(145, 120, 250)
HSLhsl(252, 93%, 73%)
HSVhsv(252, 52%, 98%)
CMYKcmyk(42%, 52%, 0%, 2%)
CIE-LABlab(58.37, 40.00, -61.96)
CIE-LCHlch(58.37, 73.75, 302.85°)
OKLaboklab(65.75% 0.0609 -0.1761)
OKLCHoklch(65.75% 0.186 289.1)
XYZxyz(35.6440, 26.3536, 93.6327)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178FA #E1FA78
analogous
#78A0FA #9178FA #D278FA
triadic
#9178FA #FA9178 #78FA91
tetradic
#9178FA #FA78A0 #E1FA78 #78FAD2
square
#9178FA #FA78A0 #E1FA78 #78FAD2
split-complementary
#9178FA #FAD278 #A0FA78
monochromatic
#3509EF #613DF8 #9178FA #C1B3FC #E7E1FE

Accessibility & contrast

On white

3.35
#9178FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#9178FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178FA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178FA#FFFFFF#000000##000000
##9178FA1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8FFF
Deuteranopia (green-blind)
#3E89F7
Tritanopia (blue-blind)
#7393AE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9178fa;
/* rgb */ color: rgb(145, 120, 250);
/* oklch */ color: oklch(65.7% 0.186 289.1);
Tailwind
colors: {
  custom: {
    50: '#b79ffd',
    500: '#9178fa',
    950: '#000000',
  },
}
SCSS
$custom: #9178fa;
$custom-light: #b79ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#9178fa",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 251.538,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65749,
    "c": 0.18631,
    "h": 289.1
  },
  "luminance": 0.26355
}

Semantic roles & 50–950 ramp

primary
#9178FA
secondary
#F0F6D5
accent
#E600B9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9178FA

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

Preview Lab → · Contrast checker → · Palette generator →

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