#9178FE#9178FE

#9178FE is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.0% C 0.191 H 288.6°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9178FE
RGBrgb(145, 120, 254)
HSLhsl(251, 99%, 73%)
HSVhsv(251, 53%, 100%)
CMYKcmyk(42.9%, 52.8%, 0%, 0.4%)
CIE-LABlab(58.61, 41.10, -63.79)
CIE-LCHlch(58.61, 75.88, 302.80°)
OKLaboklab(66% 0.0611 -0.1814)
OKLCHoklch(66% 0.191 288.6)
XYZxyz(36.2779, 26.6071, 96.9709)
Luminance0.2661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178FE #E5FE78
analogous
#78A2FE #9178FE #D478FE
triadic
#9178FE #FE9178 #78FE91
tetradic
#9178FE #FE78A2 #E5FE78 #78FED4
square
#9178FE #FE78A2 #E5FE78 #78FED4
split-complementary
#9178FE #FED478 #A2FE78
monochromatic
#3002FA #5F3BFE #9178FE #C2B5FE #E6E1FF

Accessibility & contrast

On white

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

On black

6.32
#9178FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178FE
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178FE#FFFFFF#000000##000000
##9178FE1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3790FF
Deuteranopia (green-blind)
#388AFB
Tritanopia (blue-blind)
#7195B0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9178fe;
/* rgb */ color: rgb(145, 120, 254);
/* oklch */ color: oklch(66.0% 0.191 288.6);
Tailwind
colors: {
  custom: {
    50: '#b79fff',
    500: '#9178fe',
    950: '#000000',
  },
}
SCSS
$custom: #9178fe;
$custom-light: #b79fff;
$custom-dark: #000000;
JSON
{
  "hex": "#9178fe",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 251.194,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.66002,
    "c": 0.19144,
    "h": 288.6
  },
  "luminance": 0.26608
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9178FE

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

Preview Lab → · Contrast checker → · Palette generator →

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