#9178F4#9178F4

#9178F4 is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.4% C 0.179 H 289.8°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9178F4
RGBrgb(145, 120, 244)
HSLhsl(252, 85%, 71%)
HSVhsv(252, 51%, 96%)
CMYKcmyk(40.6%, 50.8%, 0%, 4.3%)
CIE-LABlab(58.02, 38.36, -59.21)
CIE-LCHlch(58.02, 70.55, 302.94°)
OKLaboklab(65.38% 0.0606 -0.168)
OKLCHoklch(65.38% 0.179 289.8)
XYZxyz(34.7182, 25.9832, 88.7564)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9178F4 #DBF478
analogous
#789DF4 #9178F4 #CF78F4
triadic
#9178F4 #F49178 #78F491
tetradic
#9178F4 #F4789D #DBF478 #78F4CF
square
#9178F4 #F4789D #DBF478 #78F4CF
split-complementary
#9178F4 #F4CF78 #9DF478
monochromatic
#3C12DF #633FEF #9178F4 #BFB1F9 #E8E3FD

Accessibility & contrast

On white

3.39
#9178F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#9178F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9178F4
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9178F4#FFFFFF#000000##000000
##9178F41.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#438EF8
Deuteranopia (green-blind)
#4589F1
Tritanopia (blue-blind)
#7592AB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9178f4;
/* rgb */ color: rgb(145, 120, 244);
/* oklch */ color: oklch(65.4% 0.179 289.8);
Tailwind
colors: {
  custom: {
    50: '#b69ff8',
    500: '#9178f4',
    950: '#000000',
  },
}
SCSS
$custom: #9178f4;
$custom-light: #b69ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#9178f4",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 244
  },
  "hsl": {
    "h": 252.097,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.65376,
    "c": 0.17856,
    "h": 289.8
  },
  "luminance": 0.25984
}

Semantic roles & 50–950 ramp

primary
#9178F4
secondary
#EEF4D4
accent
#E104B5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9178F4

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

Preview Lab → · Contrast checker → · Palette generator →

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