#9178FF#9178FF

#9178FF is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.1% C 0.193 H 288.5°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9178FF
RGBrgb(145, 120, 255)
HSLhsl(251, 100%, 74%)
HSVhsv(251, 53%, 100%)
CMYKcmyk(43.1%, 52.9%, 0%, 0%)
CIE-LABlab(58.67, 41.38, -64.24)
CIE-LCHlch(58.67, 76.41, 302.79°)
OKLaboklab(66.07% 0.0611 -0.1828)
OKLCHoklch(66.07% 0.193 288.5)
XYZxyz(36.4384, 26.6714, 97.8165)
Luminance0.2667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178FF #E6FF78
analogous
#78A2FF #9178FF #D478FF
triadic
#9178FF #FF9178 #78FF91
tetradic
#9178FF #FF78A2 #E6FF78 #78FFD4
square
#9178FF #FF78A2 #E6FF78 #78FFD4
split-complementary
#9178FF #FFD478 #A2FF78
monochromatic
#2F00FD #5F3BFF #9178FF #C3B5FF #E6E0FF

Accessibility & contrast

On white

3.32
#9178FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#9178FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178FF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178FF#FFFFFF#000000##000000
##9178FF1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3590FF
Deuteranopia (green-blind)
#378AFC
Tritanopia (blue-blind)
#7095B0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9178ff;
/* rgb */ color: rgb(145, 120, 255);
/* oklch */ color: oklch(66.1% 0.193 288.5);
Tailwind
colors: {
  custom: {
    50: '#b79fff',
    500: '#9178ff',
    950: '#000000',
  },
}
SCSS
$custom: #9178ff;
$custom-light: #b79fff;
$custom-dark: #000000;
JSON
{
  "hex": "#9178ff",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 251.111,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.66066,
    "c": 0.19272,
    "h": 288.5
  },
  "luminance": 0.26673
}

Semantic roles & 50–950 ramp

primary
#9178FF
secondary
#F1F7D4
accent
#E600BB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9178FF

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

Preview Lab → · Contrast checker → · Palette generator →

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