#9178FB#9178FB

#9178FB is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.8% C 0.188 H 289.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9178FB
RGBrgb(145, 120, 251)
HSLhsl(251, 94%, 73%)
HSVhsv(251, 52%, 98%)
CMYKcmyk(42.2%, 52.2%, 0%, 1.6%)
CIE-LABlab(58.43, 40.28, -62.42)
CIE-LCHlch(58.43, 74.29, 302.83°)
OKLaboklab(65.81% 0.061 -0.1774)
OKLCHoklch(65.81% 0.188 289)
XYZxyz(35.8012, 26.4165, 94.4606)
Luminance0.2642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178FB #E2FB78
analogous
#78A1FB #9178FB #D278FB
triadic
#9178FB #FB9178 #78FB91
tetradic
#9178FB #FB78A1 #E2FB78 #78FBD2
square
#9178FB #FB78A1 #E2FB78 #78FBD2
split-complementary
#9178FB #FBD278 #A1FB78
monochromatic
#3407F1 #613DF9 #9178FB #C1B3FD #E7E1FE

Accessibility & contrast

On white

3.34
#9178FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#9178FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178FB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178FB#FFFFFF#000000##000000
##9178FB1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8FFF
Deuteranopia (green-blind)
#3C89F8
Tritanopia (blue-blind)
#7294AE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9178fb;
/* rgb */ color: rgb(145, 120, 251);
/* oklch */ color: oklch(65.8% 0.188 289.0);
Tailwind
colors: {
  custom: {
    50: '#b79ffd',
    500: '#9178fb',
    950: '#000000',
  },
}
SCSS
$custom: #9178fb;
$custom-light: #b79ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#9178fb",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 251.45,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.65812,
    "c": 0.18759,
    "h": 289
  },
  "luminance": 0.26418
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9178FB

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

Preview Lab → · Contrast checker → · Palette generator →

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